+ 1

Hey we can directly write any thing after cout so why we put so much of insertion and seperate every word to write the sentence

24th Jun 2019, 3:52 PM
im specific clasher
im specific clasher - avatar
7 ответов
+ 3
Could you explain your question better?
24th Jun 2019, 3:57 PM
Airree
Airree - avatar
+ 1
Since you can't really concatinate strings with other datatypes, you can use more insertions: int x = 5; cout << "X is: " << x; there isn't really any other way to do it
25th Jun 2019, 11:43 AM
Airree
Airree - avatar
+ 1
sure?
25th Jun 2019, 11:45 AM
Airree
Airree - avatar
0
Yeah like see cout<< "Hello world"; Is there. And but why we write cout<<"hello"<<"world";. Both are same don,t you think. Why there are so much of insertion or why we write so much for this if we can write it simple does this thing helps further ?
25th Jun 2019, 11:41 AM
im specific clasher
im specific clasher - avatar
0
Oh sorry i wasn,t having any idea about that cause im not in that level right i have just started learning so ya thanks for this
25th Jun 2019, 11:44 AM
im specific clasher
im specific clasher - avatar
0
Can i you questions when im in trouble?
25th Jun 2019, 11:45 AM
im specific clasher
im specific clasher - avatar
0
Ya thank you so much hey i think you know very much about codings 😲
25th Jun 2019, 11:46 AM
im specific clasher
im specific clasher - avatar