C comments

  • Comments are used to provide the description about programming logic.
  • When we are using the comments that specific part will be ignored by compiler.
  • In C programming language 2 types of comments are possible: single line comments and multiple line comments.
  • Single line comments:Single line comments are declared using //
  • Multiple line comments are declared using /*………..*/.
  • When working with multi line comments then nested comments are not possible.
Powered by k2schools