हिंदी

Comments in C++

Advertisements
Maharashtra State Board: Class 11

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.

Advertisements
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×