What is the use of flush() method?
Answer:
The flush( ) function is an in-built function which is used to clear the buffer and write contents in the buffer to the file.
Introducing your new favourite teacher - Teachoo Black, at only ₹83 per month