If i am not wrong then cout <<"sum"; just Prints the word "Sum" while cout << sum; prints its value. | Sololearn: Learn to code for FREE!
Новый курс! Каждый программист должен знать генеративный ИИ!
Попробуйте бесплатный урок
+ 2

If i am not wrong then cout <<"sum"; just Prints the word "Sum" while cout << sum; prints its value.

5th Nov 2016, 8:30 AM
Micro Pixels
Micro Pixels - avatar
5 ответов
+ 1
yes
5th Nov 2016, 8:32 AM
Avish Kathpal
Avish Kathpal - avatar
+ 1
but you have to declare it before
5th Nov 2016, 8:33 AM
Avish Kathpal
Avish Kathpal - avatar
+ 1
Thanks
5th Nov 2016, 9:13 AM
Micro Pixels
Micro Pixels - avatar
0
quotation mark means you are printing a string without quotation mark you are calling variable
6th Nov 2016, 8:46 AM
Kemal Derinsu
Kemal Derinsu - avatar
0
yes u are right
31st May 2017, 2:05 PM
Varun Arora
Varun Arora - avatar