+ 1
What is meaning of cout
4 Respuestas
+ 7
The object cout actually stands for 'console output'.
EDIT: Bjarne Stroustrup: The "c" stands for "character" - http://www.stroustrup.com/bs_faq2.html#cout
It is included in the <iostream> header and is used to print text to the console.
E.g.
cout << "Hello";
The above would print "Hello" to the console.
0
Thanks
0
Cout is used to display information or data in the output and it supports the <iostream.h> header file....
Example:-
#include <iostream>
using namespace std;
int main()
{
cout << "Hello world!";
return 0;
}
- 1
cout is same like printf statement it display inpute