Search Header Logo

NEXUS'25

Authored by Ramkabilan Ramkabilan

Engineering

University

Used 3+ times

NEXUS'25
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

    Content View

    Student View

20 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the correct syntax to declare a variable in C?

int num;

int num:

int num = 10.5;

num int;

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Which of the following is a correct C identifier?

1variable

_variable1

variable-1

variable 1

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

What is the size of an int data type in C (on most systems)?

1 byte

2 bytes

4 bytes

8 bytes

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What's output of the the following code?

Equal

Not Equal

Error

None of this above

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following code?

5

6

Compilation error

Undefined behavior

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the following code?

2 3

3 2

5 1

1 5

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of the following code?

5

10

Compile-time error

Undefined behavior

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?