stderr is similar to?

Category: Questionsstderr is similar to?
Editor">Editor Staff asked 11 months ago

stderr is similar to?
 
(a) stdin
 
(b) stdout
 
(c) Both stdout and stdin
 
(d) None of the mentioned
 
The question was asked in exam.
 
Enquiry is from Error Handling in section Input and Output in C of C
NCERT Solutions for Subject Computer science (C Programming) Select the correct answer from above options 
Interview Questions and Answers, Database Interview Questions and Answers for Freshers and Experience

1 Answers
Editor">Editor Staff answered 11 months ago

Right answer is (b) stdout
 
Explanation: stderr is not exactly the same as stdout, but similar in the sense that both puts the output or error to the monitor.