+ 1

What is meaning of cout

21st Dec 2016, 2:01 PM
Nipun Sharma
Nipun Sharma - avatar
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.
21st Dec 2016, 2:12 PM
Hatsy Rei
Hatsy Rei - avatar
0
Thanks
21st Dec 2016, 2:15 PM
Nipun Sharma
Nipun Sharma - avatar
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; }
21st Dec 2016, 3:05 PM
Subham Mandal
Subham Mandal - avatar
- 1
cout is same like printf statement it display inpute
21st Dec 2016, 3:12 PM
Akshay Hanamghar
Akshay Hanamghar - avatar