Google News
logo
C-Language - Quiz(MCQ)
1 .
Who is inventor of C Language ?
A)
James Gosling
B)
Mark Jukervich
C)
Dennis Ritchie
D)
Steve Jobs

Correct Answer : Option (C) :  

Dennis Ritchie

2 .
C Language initial release date ?
A)
1968
B)
1972
C)
1976
D)
1978

Correct Answer : Option (B) :  

1972

3 .
From the following for which opertaing systems is C language available
A)
Dos
B)
Windows
C)
Unix
D)
All of the above

Correct Answer : Option (D) :  

All of the above

4 .
C language is often called a ________
A)
High level language
B)
Assembly level language
C)
Low level language
D)
All of the above

Correct Answer : Option (A) :  

High level language

5 .
C preprocessor directive start with which of the following
A)
main()
B)
#
C)
*
D)
printf()

Correct Answer : Option (B) :   #

6 .
What is the only function all C programs must contain?
A)
start()
B)
system() 
C)
main()
D)
program()

Correct Answer : Option (C) :  

main()

7 .
Which of the following is a correct comment?
A)
*/ Comments */
B)
** Comment **
C)
/* Comment */
D)
{ Comment }

Correct Answer : Option (C) :  

/* Comment */ 

8 .
What object do you use to represent a file in C Language? 
A)
FILE*
B)
fopen
C)
printf
D)
fprintf

Correct Answer : Option (A) :  

FILE*

9 .
From the following printf() belongs to which library of c
A)
stdout.h
B)
stdio.h
C)
stdout
D)
All of the above

Correct Answer : Option (B) :  

stdio.h 

10 .
What punctuation ends most lines of C code?
A)
 .
B)
;
C)
:
D)

Correct Answer : Option (B) :