Search Header Logo

C Programming Quiz-5

Authored by Amit Saini

Computers

University

Used 103+ times

C Programming Quiz-5
AI

AI Actions

Add similar questions

Adjust reading levels

Convert to real-world scenario

Translate activity

More...

10 questions

Show all answers

1.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

1. What will be the output of the following C code?

Yes

yes default

Undefined behavior

Compile time error

2.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of following program?

Hello

OK

Hello

OK

Error

3.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of the program?

This is default

This is case 1

This is case 3

This is default

This is case 1

This is case 3

This is default

4.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of C Program with switch statement or block?

ANT KING PALACE

KING PALACE

PALACE

Compiler error

5.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What will be the output of following program ?

Hello

ERROR

No Output

Garbage Value

6.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What would be the output of following program?

One

Two

Three

Error

7.

MULTIPLE CHOICE QUESTION

30 sec • 1 pt

Media Image

What is the output of C Program with switch statement or block?

MySwitch

No Output

Compiler Error

None of the above

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

Microsoft

Continue with Microsoft

or continue with

Facebook

Facebook

Apple

Apple

Others

Others

By signing up, you agree to our Terms of Service & Privacy Policy

Already have an account?