Question 15
Suppose you open a file in “a” mode, write 10 characters - ABCDEFGHIJ, and close it. You open it again using “w” mode, write 5 characters - KLMNO, and close it. What will be the content of the file when you open it in “r” mode?
ABCDEFGHIJ
ABCDE
ABCDEKLMNO
ABCDEFGHIJKLMNO
KLMNO