C MCQs Questions with Answers Pdf 2019-2020 - 3

Question: 11

Which of the following statements is not true about floating point number to a string?

(A) ftoa()

(B) dtoa()

(C) gcvt()

(D) all of above

Ans: C

gcvt()

Question: 12

A bit field is of type

(A) double

(B) float

(C) int

(D) all of the above

Ans: C

int

Question: 13

The function ftell() returns

(A) the middle position of the file

(B) the current position of the file

(C) the end position of the file

(D) the beginning position of the file

Ans: B

the current position of the file

Question: 14

Which of the following function can be used to read an entire array or a structure in a single call?

(A) readblock()

(B) READ()

(C) read()

(D) fread()

Ans: D

fread()

Question: 15

Arrays are always passed as arguments to a function by

(A) depends on compiler optimization settings

(B) depends on the number of arguments

(C) value

(D) reference

Ans: D

reference

Related Questions