Top 80+ Solved C Language MCQ Questions Answer

From 61 to 63 of 63

Q. What is the qualifying input for the type specifier G?

a. floating point numbers

b. floating point numbers in exponential format

c. floating point numbers in the shorter of exponential format

d. not a type specifier

  • c. floating point numbers in the shorter of exponential format

Q. scanf() is a predefined function in______header file.

a. stdlib. h

b. ctype. h

c. stdio. h

d. stdarg. h

  • c. stdio. h

Q. What does the C statement given below says? scanf("%7s",ch);

a. read string with minimum 7 characters.

b. read string with maximum 7 characters

c. read string exactly to 7 characters

d. read string with any number of characters

  • b. read string with maximum 7 characters
Subscribe Now

Get All Updates & News