+ 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
7 Antworten
+ 3
Could you explain your question better?
+ 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
+ 1
sure?
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 ?
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
0
Can i you questions when im in trouble?
0
Ya thank you so much hey i think you know very much about codings 😲