1. |
When fopen() fails to open a file it returns
|
||||||||
Answer:
Option (a) |
2. |
File manipulation functions in C are available in which header file?
|
||||||||
Answer:
Option (b) |
3. |
Which of the following true about FILE *fp
|
||||||||
Answer:
Option (b) |
4. |
Which of the following file open mode argument is used to truncate?
|
||||||||
Answer:
Option (b) |
5. |
The first and second arguments of fopen() are
|
||||||||
Answer:
Option (a) |
6. |
Which one of the following is correct syntax for opening a file.
|
||||||||
Answer:
Option (a) |
7. |
What is the function of the mode ‘ w+’?
|
||||||||
Answer:
Option (b) |
8. |
If the mode includes 'b' after the initial letter, what does it indicates?
|
||||||||
Answer:
Option (c) |
9. |
getc() returns EOF when
|
||||||||
Answer:
Option (c) |
10. |
A data of the file is stored in___
|
||||||||
Answer:
Option (c) |