CSE MCQs :: C-MCQs
- The first and second arguments of fopen are?
- If there is any error while opening a file, fopen will return?
- Which is true about getc.getc returns?
- When a C program is started, O.S environment is responsible for opening file and providing pointer for that file?
-
What is the meant by 'a' in the following operation?
fp = fopen("Random.txt, "a); - Which of the following fopen statements are illegal?
- FILE reserved word is?
A.
A character string containing the name of the file & the second argument is the mode.
|
B.
A character string containing the name of the user & the second argument is the mode.
|
C.
A character string containing file poniter & the second argument is the mode.
|
D.
None of the mentioned of the mentioned.
|