What is file mode? Name the default file mode.
Answer:
A file mode governs the type of operations possible once a file is opened.
The default file mode is ‘r’ ie., read.
Past Year - 1 Mark Questions
Question 2 Important
Question 3
Question 4 Important
Question 5
Question 6
Question 7
Question 8
Question 9
Question 10 Important
Question 11
Question 12 Important
Question 13 You are here
Question 14 Important
Question 15
Question 16 Important
Question 17 Important
Question 18 Important
Question 19
Question 20
Past Year - 1 Mark Questions
Last updated at Dec. 13, 2024 by Teachoo
Answer:
A file mode governs the type of operations possible once a file is opened.
The default file mode is ‘r’ ie., read.