Ask Question
7 October, 12:56

What is the difference between cout and cerr?

A) Cout is unbuffered output and cerr is buffered output

B) Cout is standard output and cerr is not a standardoutput

C) Cout is not a standard output and cerr is standard output

D) Cout is buffered output and cerr is unbuffered output

+2
Answers (2)
  1. 7 October, 15:03
    0
    Cout is buffered output as it is used for displaying output while logical implementation

    but cerr is unbuffered as it avoid logical operators error

    So D) cout is buffered and cer is unbuffered
  2. 7 October, 16:00
    0
    Answer: D) Cout is buffered output and cerr is unbuffered output

    Explanation:

    Cout is buffered output as it is used for the production of the output on the device which displays the standard output. Unbuffered error stream (cerr) is a stream of the standard output which is basically used for the displaying / production of the output.
Know the Answer?
Not Sure About the Answer?
Get an answer to your question ✅ “What is the difference between cout and cerr? A) Cout is unbuffered output and cerr is buffered output B) Cout is standard output and cerr ...” in 📙 Computers & Technology if there is no answer or all answers are wrong, use a search bar and try to find the answer among similar questions.
Search for Other Answers