CBSE Class 12 Computer Science
Question 41 of 136
Data File Handling — Question 6
Back to all questionsfobj.read()
Reason — The command fobj.read() is used to read the entire contents of the file as a string from a file object fobj.
fobj.read()
Reason — The command fobj.read() is used to read the entire contents of the file as a string from a file object fobj.