Search Header Logo

III Year

Authored by Selvakumari Sivashanmugam

Computers

Professional Development

Used 1+ times

III Year
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

25 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Consider the following variable declarations and definitions in C

i) int var_9 = 1;

ii) int 9_var = 2;

iii) int _ = 3;

Both i) and iii) are valid.

Only i) is valid.

Both i) and ii) are valid.

All are valid.

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is true for variable names in C?

They can contain alphanumeric characters as well as special characters

It is not an error to declare a variable to be one of the keywords(like goto, static)

Variable names cannot start with a digit

Variable can be of any length

3.

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;”

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is an example of iteration in C?

for

goto

break

int

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Functions in C Language are always _________

Internal

External

Both Internal and External

External and Internal are not valid terms for functions

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is #include <stdio.h>?

Preprocessor directive

Inclusion directive

File inclusion directive

Console directive

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

How many number of pointer (*) does C have against a pointer variable declaration?

7

127

202

No Limit

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?