0

what is the use of // prints ? If I type cout << "Hello World!"; , even with or without // prints, I get the same answer

5th Jul 2016, 5:49 PM
Farhan S
Farhan S - avatar
2 Answers
0
While coding if you want to write anything additional there ,but do not want to run it in your program then you can use // prints. Mainly teachers use it to write additional details about any material used in the coding so that students could easily understand what that material is actually doing in the program.
7th Jul 2016, 11:24 AM
Avaneesh Yadav
Avaneesh Yadav - avatar
0
oh, thanks buddy
7th Jul 2016, 2:13 PM
Farhan S
Farhan S - avatar