Computer Science - Object Oriented Programming Using C++ - Discussion
Discussion Forum : Object Oriented Programming Using C++ - Section 1 (Q.No. 12)
12.
Some Streams work with input, and some with output
Discussion:
4 comments Page 1 of 1.
Jagdeepsandhu said:
1 decade ago
Because we use iostream.h header file for input and output, so there is not different streams for both.
Bharath said:
1 decade ago
Because clearly the have given in c++ that is cout especially made for oupt statements and similarlycin for input. That's why we couldn't have the commmon stream for both input&output.
Chtena goyal said:
1 decade ago
Yes, we can also say that input stream work on input while output stream work on output.
Ajay said:
1 decade ago
Same stream work for both input and output.
Post your comments here:
Quick links
Quantitative Aptitude
Verbal (English)
Reasoning
Programming
Interview
Placement Papers