+ 1

Do we have to write cout << "This" << "is" << "awesome"? Can we write cout << "This is awesome"?

22nd Sep 2016, 1:31 PM
MechTurtle
MechTurtle - avatar
2 Respuestas
+ 1
Yes. Also, you will be writing "Thisisawesome" in the first case.
22nd Sep 2016, 2:14 PM
Zen
Zen - avatar
+ 1
First option will print Thisisawesome Second option will print This is awesome. It will be good to go with second option as it has readability in the output statement.
6th Jul 2017, 12:17 PM
balachandar karnan
balachandar karnan - avatar