C - Files and Preprocessors Questions and Answers
Practice ModeShowing 10 of 96 questions
Q11
The default stream pointers available during execution of a program is
Answer: Option D
Q12
The function call fopen ("data", "w+b")
Answer: Option B
Q13
If fopen ( ) fails, it returns
Answer: Option B
Q14
The function fclose ( ) is
Answer: Option C
Q15
The action of connecting a program to a file is obtained by using I
Answer: Option B
Q16
The action of disconnecting a program from a file is obtained by the function
Answer: Option A
Q17
The value returned by fclose(), if an error occurs is
Answer: Option C
Q18
The value returned by fclose ( ) for successful closing of a file is
Answer: Option A
Q19
The function(s) used for reading a character from a file is (are)
Answer: Option C
Q20
The function(s) used for reading formatted input data from a file is (are)
Answer: Option C