0

C++ cout

Can i output arguments with "cout" in this way: cout << a,b; When i write so, then the compiler writes only argument a. It works like this: cout << a << b; but i want to know why i cant use the first variant. (Sorry for my bad english)

1st Jul 2020, 2:37 PM
Eert Aniemit
Eert Aniemit - avatar
1 Respuesta
+ 1
Thats why you cant. See how i made grammatical errors. It basically the same thing. You need to write the correct syntax
1st Jul 2020, 3:07 PM
Andrei I
Andrei I - avatar