The keyword ‘break’ cannot be simply used within
C Code Master lvl 2 A

Quiz
•
Computers
•
Professional Development
•
Hard
Amartya Vishwakarma
Used 3+ times
FREE Resource
10 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
if-esle
do-while
for
while
2.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The format identifier ‘%i’ is also used for _____ data type.
int
float
char
double
3.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code:
#include<stdio.h>
void main()
{
int a=10,b=80,c=45;
printf("%d",a<b>c);
}
0
1
10
error
4.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following
printf("%d",34+24/12%3*5/2-4);
35
-2
34
38
5.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
The statement int a[5][5] = {{1}};
sets all elements to 1
sets only a[0][0] to 1
fails on compilation
sets a[0][0] to 1 and the remaining elements to zeroes
6.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of C program.?
int main()
{
float marks[3] = {90.5, 92.5, 96.5};
int a=0;
while(a<3)
{
printf("%.2f,", marks[a]); a++;
}
}
Compiler error
90.5 92.5 96.5
0.00 0.00 0.00
90.50 92.50 96.50
7.
MULTIPLE CHOICE QUESTION
1 min • 1 pt
What is the output of the following code.
int a=33 , b ;
b=(a++)-(--a);
printf("%d",b);
33
66
Garbage value
0
Create a free account and access millions of resources
Similar Resources on Quizizz
15 questions
C Module 1 Quiz

Quiz
•
Professional Development
5 questions
NECTS- Code Debugging Elimination Round

Quiz
•
Professional Development
15 questions
SLG IPC144 Week 11

Quiz
•
Professional Development
12 questions
StreamQuiz

Quiz
•
Professional Development
10 questions
Printf Scanf Quiz

Quiz
•
Professional Development
10 questions
C Programming Quiz 2

Quiz
•
Professional Development
11 questions
UC_TM04_Strings_Pointers

Quiz
•
University - Professi...
10 questions
Day 3 C Programming quiz

Quiz
•
Professional Development
Popular Resources on Quizizz
15 questions
Character Analysis

Quiz
•
4th Grade
17 questions
Chapter 12 - Doing the Right Thing

Quiz
•
9th - 12th Grade
10 questions
American Flag

Quiz
•
1st - 2nd Grade
20 questions
Reading Comprehension

Quiz
•
5th Grade
30 questions
Linear Inequalities

Quiz
•
9th - 12th Grade
20 questions
Types of Credit

Quiz
•
9th - 12th Grade
18 questions
Full S.T.E.A.M. Ahead Summer Academy Pre-Test 24-25

Quiz
•
5th Grade
14 questions
Misplaced and Dangling Modifiers

Quiz
•
6th - 8th Grade