Multiple choice technology programming languages

"What stream usually outputs error messages to the screen? "

  1. stdout

  2. stderr

  3. stderr2

  4. stdouterr

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

stderr (standard error, file descriptor 2) is the Unix stream specifically for error messages and diagnostics. stdout is for standard output (file descriptor 1). The other options (stderr2, stdouterr) are not standard stream names.