comments are important part of any program. it helps in documentation and increases the readability and understanding of logic of the prog. the conncept ignores comments,so it does not add to the file size or execution time ofthe executable program.the following code shows how to use the comment lines in program.
- code:-
#include<iostream.h>void main(){cout<<"welcome to our blog";/*it prints text on screen*/}
in the above code the line after the cout is the comment line.
it stats with /* and ends with*/ and this is a non executable line which dont make any change in your prog.
this is in short about the comment line comment for any difficulty thnks for visiting stay tunned thnkyou.😎🙏
👍
0 Comments