File Input Output MCQs
Practice free File Input Output multiple-choice questions with instant answer feedback and step-by-step solutions. Click an option to check yourself, reveal the full explanation, and work through all 296 questions — no login required.
Question 10easy
In C, what is the function of the 'feof' function?
Question 11medium
Which function is used to move the file pointer to a specific position in a file?
Question 12easy
What is the purpose of the 'rewind' function in C?
Advertisement
Question 13medium
Which function is used to read a line of text from a file in C?
Question 14easy
What is the difference between 'r+' and 'w+' modes when opening a file in C?
Question 15medium
Which function is used to delete a file in C?
Advertisement
Question 16easy
What does the 'fread' function in C do?
Question 17medium
Which function is used to rename a file in C?
Question 18medium
In C, what does the 'feof' function return if the end of the file is reached?