1. What will be the output of the following C code?
C Programming Quiz-5

Quiz
•
Computers
•
University
•
Hard
Amit Saini
Used 96+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
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
Create a free account and access millions of resources
Similar Resources on Quizizz
10 questions
Day 7 Assessment -2

Quiz
•
University
10 questions
P1_APLab2Quiz_B3B4

Quiz
•
University
15 questions
Common errors in C programming

Quiz
•
University
12 questions
Quiz Pemrograman Dasar 01

Quiz
•
University
10 questions
Java Control Flow statements

Quiz
•
University
10 questions
Java Static

Quiz
•
University
10 questions
Java Quiz 2 based on loop and if else

Quiz
•
University
12 questions
Functions C

Quiz
•
University
Popular Resources on Quizizz
15 questions
Multiplication Facts

Quiz
•
4th Grade
25 questions
SS Combined Advisory Quiz

Quiz
•
6th - 8th Grade
40 questions
Week 4 Student In Class Practice Set

Quiz
•
9th - 12th Grade
40 questions
SOL: ILE DNA Tech, Gen, Evol 2025

Quiz
•
9th - 12th Grade
20 questions
NC Universities (R2H)

Quiz
•
9th - 12th Grade
15 questions
June Review Quiz

Quiz
•
Professional Development
20 questions
Congruent and Similar Triangles

Quiz
•
8th Grade
25 questions
Triangle Inequalities

Quiz
•
10th - 12th Grade