0 of 20 Questions completed
Questions:
You have already completed the quiz before. Hence you can not start it again.
Quiz is loading…
You must sign in or sign up to start the quiz.
You must first complete the following:
0 of 20 Questions answered correctly
Your time:
Time has elapsed
You have reached 0 of 0 point(s), (0)
Earned Point(s): 0 of 0, (0)
0 Essay(s) Pending (Possible Point(s): 0)
2. What are the file operations in c?
3. Which data type is needed to create a file?
4. To create file pointer is must and should?
5. ___________ is the syntax to create a file
6. What EOF?
7. The different modes of file operations are________
8. What is a+ mode?
9. What are the Input functions of file?
10. What are the output functions of file?
11. Can we access files randomly ?
12. Which functions we will use to access files randomly?
13. syntax of fseek() is_____?
14. Which function is used to write data to a file?
15. the ______ function returns the current position of the file whose pointer is supplied as the function argument.
16. the ________ function can be used to read the number of items of items of specified size from a stream and return the number of items read.
17. the ________ function writes n items of a specified size on to stream and returns the number of items written
18.What is the output for following code?
FILE *f1;
f1=fopen(“abc.txt”, “r+”);
19. Which file mode opens a file for appending and adds new data at the end of the file?
20. The _________ function can be used to read multiple characters from the file.