CBSE Class 12 Computer Science Question 117 of 136

Data File Handling — Question 5

Back to all questions
5
Question

Question 5

readline() reads the entire file at a time.

Answer

False

Reason — The readline() function reads one line at a time from a file, starting from the current cursor position up to and including the end of the line character (\n).