List any two modes for opening a file.
Marks: 1Chapter: Unit 9: File Handling
Comprehensive questions and detailed answers for Unit 9: File Handling. Perfect for exam preparation and concept clarity.
List any two modes for opening a file.
Write a program to read an integer from the user. If the given integer is odd then write it into the file named "Odd.dat", otherwise write it into "Even.dat".
What is the difference between append mode and write mode in file handling?
Write a program to copy the contain of one file to another file.