11. |
Select a function which is used to write a string to a file______
|
||||||||
Answer:
Option (c) |
12. |
fflush(NULL) flushes all ________
|
||||||||
Answer:
Option (b) |
13. |
Choose the right statement for fscanf() and scanf()
|
||||||||
Answer:
Option (b) |
14. |
What does the following C statement mean?
char *gets(char *s)
|
||||||||
Answer:
Option (a) |
15. |
Which function will return the current file position for stream?
|
||||||||
Answer:
Option (c) |
16. |
Choose a correct statement about C file mode "a".
FILE *fp; fp=fopen("abc.txt","a");
|
||||||||
Answer:
Option (d) |
17. |
What is the C function used to move current pointer to the beginning of file?
|
||||||||
Answer:
Option (b) |