0
what is the use of // prints ? If I type cout << "Hello World!"; , even with or without // prints, I get the same answer
2 Antworten
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.
0
oh, thanks buddy