Navigation Menu
Home
Full Length Papers
News Blog
ECAT Practice Computer Science File Handling in C MCQs Test 3
General

ECAT Practice Computer Science File Handling in C MCQs Test 3

Practice ECAT 2026 Practice Test Computer Science MCQs from File Handling in C. Get instant results with Explanation.
Practice Quiz 3 for "File Handling in C" (Computer Science). Total 30 MCQs available, split into 3 quizzes. Challenge yourself with advanced application-based questions. This area is highly tested in ECAT.
General10 MCQs
1. The fwrite() function is used for:
2. What is the purpose of the EOF constant?
3. Which function removes a file?
4. Which function renames a file?
5. When reading a file, fgetc() returns EOF when:
General10 MCQs
6. What is the output: int c; while ((c = fgetc(fp)) != EOF) { putchar(c); }
7. Which function is used to check if a file exists (open for reading)?
8. When you open a file in "w" mode, what happens if the file already exists?
9. What does fflush() do?
10. Which of these is a valid way to open a file for text reading?

📋 ECAT - Test Online Practice Quizzes

ECAT

Conducting Body: UET
Frequency: Quarterly | Time: 100 Minutes
Negative Marking: No

⚡ Test Pattern (Total: 100 MCQs):

Merit Formula: Typically, the aggregate is calculated as: (ECAT × 33.33%) + (FSc Part-I × 16.67%) + (Matric × 50%). However, the respective university may revise its merit calculation formula or admission criteria from time to time. Please confirm the official criteria before applying.