Home › MCQs › C Programming › Module 11: File I/O - Final Quiz
Back to Topics
PRACTICE • LEARN • GROW

Module 11: File I/O - Final Quiz MCQs

Solve topic-wise placement questions and improve your skills.

Module 11: File I/O - Final Quiz Progress
0 of 8 completed
0% Topic Track
You are viewing MCQs in preview mode. Log in to select options, submit answers, and track your progress.
Log In to Answer
1
What is the key difference between file opening modes "w" and "a" in C?
A. "w" is for write-only; "a" is for read-only
B. "w" truncates/wipes existing file contents to 0 bytes; "a" preserves existing data and appends new content to the end
C. "w" creates a file; "a" fails if the file does not exist
D. "w" opens in binary; "a" opens in text

Question Palette

Answered
Current
Not Attempted
Wrong

Quick Actions

Yukti Mascot