Why we not use "" at the end of program to print enything means in this program they use cout << a .. they dont use"" so why...? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Why we not use "" at the end of program to print enything means in this program they use cout << a .. they dont use"" so why...?

27th Sep 2018, 9:52 PM
Kusum Paliwal
Kusum Paliwal - avatar
2 Answers
0
If you use:int 10; cout<<"a" , in console will print a , and if you use: int 10; cout<<a; , console will be print 10.
30th Dec 2018, 8:21 AM
I'm Dude
I'm Dude - avatar
0
If you use:int 10; cout<<"a" , in console will print a , and if you use: int 10; cout<<a; , console will be print 10.
30th Dec 2018, 8:21 AM
I'm Dude
I'm Dude - avatar