Which is not a valid keyword in C language?

SJIT ECE 2024 BATCH EMBEDUR ROUND-1 PRACTICE TEST

Quiz
•
Education
•
Professional Development
•
Hard
DINESH ADIKESAVAN
Used 1+ times
FREE Resource
35 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
for
while
do-while
switch
2.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
A C-style comment, simply surround the text with ___.
/* and */
// and //
//
/** and **/
3.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
How many byte(s) does a char type take in C?
1
2
3
4
4.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Which is correct with respect to the size of the data types in C?
char > int > float
char < int < float
int < char < float
int < chat > float
5.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
#include <stdio.h>
int main()
{
int x = 20;
x %= 3;
printf("%d",x);
return 0;
}
2
2.5
ERROR
WARNING
6.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
#include <stdio.h>
int main()
{
float x = 21.0;
x %= 3.0;
printf("%f",x);
return 0;
}
7
7.0
7.000000
ERROR
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
What will be the output of the following C code?
#include <stdio.h>
int main()
{
int a=0;
a=5||2|1;
printf("%d",a);
return 0;
}
1
7
0
8
Create a free account and access millions of resources
Similar Resources on Quizizz
30 questions
Indian Judiciary 8A

Quiz
•
KG - Professional Dev...
30 questions
GENERAL PHYSICS 2-REVIEW

Quiz
•
Professional Development
30 questions
POLICY TEST -3

Quiz
•
Professional Development
33 questions
FORMATOS DE IMAGEN, FUENTES TIPOGRAFICAS

Quiz
•
Professional Development
40 questions
Diritto amministrativo (quiz#002-40)

Quiz
•
KG - Professional Dev...
30 questions
PROF ED 3

Quiz
•
Professional Development
36 questions
TLE 10

Quiz
•
Professional Development
30 questions
Myopia Grand Quiz 2024

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