+ 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 odpowiedzi
+ 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
Muhammed Enis Mıhçıoğlu
Muhammed Enis Mıhçıoğlu - avatar
0
yes u are right
31st May 2017, 2:05 PM
Varun Arora
Varun Arora - avatar