CBSE Class 12 Computer Science
Question 97 of 136
Data File Handling — Question 36
Back to all questions(a) To open a file named "RESULT.DAT" for output:file = open("RESULT.DAT")
(b) To go to the end of the file at any time:file.seek(0, 2)
(a) To open a file named "RESULT.DAT" for output:file = open("RESULT.DAT")
(b) To go to the end of the file at any time:file.seek(0, 2)