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.
Past Year - 1 Mark Questions
Question 2 Important
Question 3
Question 4 Important
Question 5
Question 6
Question 7
Question 8 You are here
Question 9
Question 10 Important
Question 11
Question 12 Important
Question 13
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:
The flush( ) function is an in-built function which is used to clear the buffer and write contents in the buffer to the file.