Navigation Menu
Home Blog Latest Notices
100% Free

ECAT - Practice Test - Computer Science - File Handling in C - Quiz 2

Practice 10 high yield MCQs on Computer Science from Chapter File Handling in C for Practice Test. After submission, get instant results with correct answers and detailed explanations. This is Quiz 2 of the series.

11. Which function is used for formatted input from a file?



12. Which function is used for formatted output to a file?



13. The file pointer in C is of type:



14. What does the feof() function check?



15. Which function returns the current position in a file?



16. Which function moves the file pointer to a specific position?



17. Which function sets the file pointer to the beginning of the file?



18. When fopen() fails, it returns:



19. Which mode allows both reading and writing?



20. The fread() function is used for:



← Back to Quiz Sets
Instructions: Select one answer per question. After submitting, you will see your score, correct answers, and explanations.

Medical Colleges in Pakistan

Explore medical institutions city‑wise – public & private.

Browse All Medical Colleges →