What is the function of cout | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

What is the function of cout

function

15th Jul 2017, 11:40 AM
morgam
4 Answers
+ 1
It is the output! Example int main() { cout << "Hello World!"; return 0; } //Output = Hello world! // Hello world! (appears on the screen!) Break up the word it is actually c out as you get c in cout= output cin = input
15th Jul 2017, 12:01 PM
Nico Rob.
Nico Rob. - avatar
0
yep what about variables
15th Jul 2017, 12:03 PM
morgam
0
cout means console output. It helps to display the text and output of the program to the screen.
15th Jul 2017, 1:25 PM
Bhakti
Bhakti - avatar
0
It helps to return or show the value on the monitor
15th Jul 2017, 4:36 PM
Shanu Pathak