MCQ
Why is it important to close stream object after writing to a file accomplished?
  • Open files consume system resources.
  • B
    Depending on the file mode, other programs may not be able to access them.
  • C
    a and b both
  • D
    None of these

Answer

Correct option: A.
Open files consume system resources.
Open files consume system resources.

Need a full question paper?

Generate a complete, print-ready paper with questions like this in minutes — across 16+ boards, with answer keys.

Start Generating Free