C++ language tutorials learn comment in c++ - how to start a blog and Learn about Blogger, Tutorials and Computer Trick- Howlearn.net

how to start a blog,Learn corel draw, adobe photoshop, 3d studio max, computer tips, computer new skils, about adsense, about blogger, earn money, youtube monetizing,

SUBTOTAL :

Disqus Shortname

learn c plus Learn c++
C++ language tutorials learn comment in c++

C++ language tutorials learn comment in c++

learn c plus Learn c++
Size
Short Description:
C++ language tutorials learn comment in c++

Product Description

Program comments are explanatory statements that you can include in the C++ code that you write and helps anyone reading it's source code. All programming languages allow for some form of comments.
C++ supports single-line and multi-line comments. All characters available inside any comment are ignored by C++ compiler.
C++ comments start with /* and end with */. For example:




A comment can also start with //, extending to the end of the line. For example









When the above code is compiled, it will ignore // prints Hello World and final executable will produce the following result:





Within a /* and */ comment, // characters have no special meaning. Within a // comment, /* and */ have no special meaning. Thus, you can "nest" one kind of comment within the other kind. For example:


Contact Form

Name

Email *

Message *