C++ Programming - OOPS Concepts - Discussion

Discussion Forum : OOPS Concepts - General Questions (Q.No. 12)
12.
cout is a/an __________ .
operator
function
object
macro
Answer: Option
Explanation:
No answer description is available. Let's discuss.
Discussion:
52 comments Page 3 of 6.

Ratnesh said:   1 decade ago
cout is object of ostream class & cin is the object of istream class. istream & ostream makes iostream

Manish Jatiwal said:   1 decade ago
cout is object of class ostream.

cin is object of class istream.

Extraction and insertion are operator.

Amar said:   1 decade ago
Object through call the value to accept and display function then use cout and cin in an object.

Meester anony said:   1 decade ago
Cout is when someone tries saying caught but doesn't know how to pronounce it properly.

Suman.k said:   1 decade ago
Cout is stream extraction operator
It is predefined and the header file is iostream.h

PAVAN GOLESAR said:   1 decade ago
cout is object of ostream.h header file and cin is object of istream.h header file.

Sabari said:   1 decade ago
var = cout<<something twist this is return any thing because its a function.

Navin said:   1 decade ago
If cout is an object. Can anyone tell me where this object is getting created ?

Pratik said:   7 years ago
cout is an object of STDOUT class which is already in iostream header file.
(2)

Pooja said:   1 decade ago
cout is predefined in iostream.h.

Can anyone tell me how it is object.


Post your comments here:

Your comments will be displayed after verification.