Comments
Comments are statements written by and for the programmer, so that programmer or anyone who read the code can understand for what purpose that code is written. These statements are not part of the executable code. There are 2 ways to write comments-
1. Single line comments- Anything that follows double slash ( // ) becomes comments. (C++ style)
Example-
// Type your comment here
2. Multiple line comments – Anything enclosed in /* and */ becomes comments. (C style)
Example-
/* Type your comment here */
or
/*
Type
Your
Comment
Here
*/