
C Programming Quiz-5
Authored by Amit Saini
Computers
University
Used 103+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
What will be the output of following program?
Hello
OK
Hello
OK
Error
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
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
What will be the output of following program ?
Hello
ERROR
No Output
Garbage Value
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What would be the output of following program?
One
Two
Three
Error
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?