CBSE Class 12 Computer Science Question 48 of 136

Data File Handling — Question 13

Back to all questions
13
Question

Question 13

Which is/are the basic I/O (input-output) stream(s) in file?

  1. Standard Input
  2. Standard Output
  3. Standard Errors
  4. All of these
Answer

All of these

Reason — The basic I/O streams related to files are Standard Input (stdin), Standard Output (stdout), and Standard Error (stderr). Standard Input (stdin) is used for receiving input, Standard Output (stdout) is the stream for regular output, and Standard Error (stderr) is specifically designated for error messages and warnings.