Multiple choice

I/O stream can be _______

  1. a text stream

  2. a binary stream

  3. both 1 and 2

  4. an I/O operation

Reveal answer Fill a bubble to check yourself
C Correct answer
Explanation

In C and many programming languages, I/O streams can be configured as either text streams (performing newline translation and other text-specific processing) or binary streams (performing no such transformations, reading/writing raw bytes). The distinction is fundamental to file I/O operations.