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.
Learn in your speed, with individual attention - Teachoo Maths 1-on-1 Class