1000+ Multiple Choice Questions on C Programming with Answers - 2

Question: 6

The break statement is

(A) a preprocessor directive

(B) switch in the C language

(C) an operator in the C language

(D) a keyword in the C language

Ans: D

a keyword in the C language

Question: 7

The logical NOT operator represented by ! is a

(A) binary operator

(B) unary operator

(C) octal operator

(D) ternary operator

Ans: B

unary operator

Question: 8

Which is popular header file?

(A) stdio.h and math.h

(B) stdio.h

(C) math.h

(D) none of these

Ans: A

stdio.h and math.h

Question: 9

Which of the following improves the readability of the C program?

(A) comment lines

(B) function

(C) variable

(D) all the above

Ans: A

comment lines

Question: 10

In a do-while loop the set of statements within the loop

(A) will not at all be executed

(B) will not be executed atleast once

(C) will be executed atleast once

(D) will be executed twice

Ans: C

will be executed atleast once

Related Questions
Read More Engineering Topics