Total Pageviews

Monday, June 22, 2026

C LANGUAGE QUIZ SET 1

C Language Quiz

C Language Quiz

1. Who developed the C language?

Dennis Ritchie
James Gosling
Bjarne Stroustrup
Guido van Rossum

2. Which symbol is used to end a statement in C?

:
;
,
.

3. Which function is the entry point of a C program?

start()
run()
main()
init()

4. Which header file is required for printf()?

math.h
stdio.h
string.h
conio.h

5. Which data type stores a single character?

int
float
char
double

6. What is the size of char in C?

1 byte
2 bytes
4 bytes
8 bytes

7. Which loop executes at least once?

for
while
do-while
nested for

8. Which operator is used for address-of?

*
&
%
#

9. Which keyword is used to return a value from a function?

break
continue
exit
return

10. Which operator is used for equality comparison?

=
:=
==
!=

No comments:

Post a Comment