Top 300+ C Programming Multiple Choice Questions & Answers - 3

Question: 11

The function that allows a file to read randomly is

(A) frandon()

(B) rewind()

(C) ftell()

(D) fseek()

Ans: D

fseek()

Question: 12

Which of the following is not a control statement in C language?

(A) goto statement

(B) switch statement

(C) for statement

(D) repeat until statement

Ans: D

repeat until statement

Question: 13

Which of the following modifier is used to declare a variable as constant?

(A) const

(B) signed

(C) short

(D) unsigned

Ans: A

const

Question: 14

Which of the following string functions reverse the string?

(A) strrev()

(B) strcmp()

(C) strlen()

(D) strcpy()

Ans: A

strrev()

Question: 15

Operand of indirection operator is

(A) ordinary variable

(B) integer constant

(C) pointer variable

(D) none of above

Ans: C

pointer variable

Related Questions