Comment Line in C++


Comments lines write in C++ have two ways

1.  single line comment using  Double slash   //
2.   Multi  line comments  in paragraph  using      / *    first    slash star         &    last     star slash   */

Example

// C++ is super set of C language

/*    C++ is a

Object Oriented

Programming Language   */

Simple C++ Program using of comment line symbol

Output

Welcome to the Object Oriented World

 

(Visited 54 times, 1 visits today)

Leave a Reply

Your email address will not be published. Required fields are marked *


CAPTCHA Image
Reload Image