- Get link
- X
- Other Apps
Difference between Comment line and code line - Here we first discussed about comment line according to C/C++ language so lets start Comment line - we use comment for easily explanation any source code we use it for programmer readability and for better understanding these comment are not include in our code or say not counted in our code there are two type of comment - 1. Single line comment : In single line comment we use it for one line comment and the representation of the comment is ' / single line comment/ ' . Syntax - // This is Syntax of single line comment // Here program start #include<stdio.h> int main(){ printf("hello world"); } 2. Multiline comment : It is used to comment in multiline code and the representation of the comment is ' /* Multiline comment */ ' Syntax - /*This is multiline comment and we use it when we explaining something in many line so we use this comment */ /*Here is the program syntax*/ #include<stdio.h>...