C Programming Quiz-5

C Programming Quiz-5

University

10 Qs

quiz-placeholder

Similar activities

Java Static

Java Static

University

10 Qs

BASIC C PROGRAMMING QUIZ

BASIC C PROGRAMMING QUIZ

University

15 Qs

C++ Training-Day 1_Quiz

C++ Training-Day 1_Quiz

University

10 Qs

unit3 pointers

unit3 pointers

University

10 Qs

Java Quiz based on array

Java Quiz based on array

University

15 Qs

Functions C

Functions C

University

12 Qs

Classes

Classes

University

9 Qs

UNIT 3

UNIT 3

University

12 Qs

C Programming Quiz-5

C Programming Quiz-5

Assessment

Quiz

Computers

University

Hard

Created by

Amit Saini

Used 96+ times

FREE Resource

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

Create a free account and access millions of resources

Create resources
Host any resource
Get auto-graded reports
or continue with
Microsoft
Apple
Others
By signing up, you agree to our Terms of Service & Privacy Policy
Already have an account?