C Single Line Comment
Single Line Comment are non-executable code used to provide documentation to programmer. Single Line Comment is used to comment out just Single Line in the Code. It is used to provide One Liner Description of line.
Some Important Points :-
Some Important Points :-
Example :-
#include<stdio.h>
void main()
{
printf("Hello"); //Single Line Comment
printf("By");
}
Which Part is Ignored by Compiler ? [Shown by Asterisk]:-
#include<stdio.h>void main() {printf("Hello"); // ********** Until Line Ends *****
printf("By");
}
Explanation :
C Single Line Comment
Reviewed by ANAND PANDEY
on
7:19:00 AM
Rating:
No comments: