C - Files and Preprocessors Questions and Answers
Practice ModeShowing 10 of 96 questions
Q31
The function used for reading binary stream is
Answer: Option B
Q32
Identify the functions for in-memory for mat conversions
Answer: Option D
Q33
The value of string after exeecuting the following statements is
int x = 25; char string [5]; sprintf ( string, "%d", x);
Answer: Option A
Q34
The value of ch after executing the following statements is
int x; char ch; char string [20] = "100 5";
sscanf (string, "%3d%d", &x, &ch);
Answer: Option B
Q35
Identify the correct statement.
Answer: Option C
Q36
The following line in a program
#
represents
Answer: Option B
Q37
Macros
Answer: Option B
Q38
Identify the stringzing operator.
Answer: Option C
Q39
idenfity the token pasting operator
Answer: Option D
Q40
The directive (s) used in conditional compilation is (are)
Answer: Option D