Search Header Logo

C Programming

Authored by Avani Khokhariya

English

1st Grade

Used 5+ times

C Programming
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

30 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

45 sec • 1 pt

Which of the following is not a valid C variable name?

int number;

float rate;

int variable_count;

int $main;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

All keywords in C are in ____________

LowerCase letters

UpperCase letters

CamelCase letters

None of the mentioned

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which is valid C expression?

int my_num = 100,000;

int my_num = 100000;

int my num = 1000;

int $my_num = 10000;

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following cannot be a variable name in C?

volatile

true

friend

export

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following declaration is not supported by C language?

String str;

char *str;

float str = 3e2;

Both “String str;” and “float str = 3e2;”

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

The C-preprocessors are specified with _________ symbol.

#

$

” ”

&

7.

MULTIPLE CHOICE QUESTION

1 min • 1 pt

Media Image

What is an output of the following code.

65666768

BCDE

Compile time error

ABCD

Access all questions and much more by creating a free account

Create resources

Host any resource

Get auto-graded reports

Google

Continue with Google

Email

Continue with Email

Classlink

Continue with Classlink

Clever

Continue with Clever

or continue with

Microsoft

Microsoft

Apple

Apple

Others

Others

Already have an account?