What does cout<<i<<" "; means? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

What does cout<<i<<" "; means?

cout

2nd May 2017, 4:59 AM
Naveed
Naveed - avatar
5 Answers
+ 2
i prints i and a space after it
3rd May 2017, 6:52 AM
CHISTI JALAJAKSHI
CHISTI JALAJAKSHI - avatar
+ 1
Printing the value of i and a space after it.
2nd May 2017, 5:15 AM
Nantha
Nantha - avatar
+ 1
thanks
2nd May 2017, 5:16 AM
Naveed
Naveed - avatar
+ 1
cout belongs to the standard library so if you don't include it you'll have to write std::cout<<i<<" ";
2nd May 2017, 7:19 AM
Josh
+ 1
it prints to the output screen
3rd May 2017, 6:52 AM
CHISTI JALAJAKSHI
CHISTI JALAJAKSHI - avatar