मराठी

Comments in C++

Advertisements

Topics

Comments in C++

Comments are vital for program readability, though not mandatory. The compiler ignores them, so they don't affect file size or execution time. In C++, `//` is used for single-line comments, and `/*  */` for multi-line comments. These are often used by programmers to convey messages to other programmers doing modifications in the same programme.

If you would like to contribute notes or other learning material, please submit them using the button below.
Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×