Home / Questions / What is the syntax for comments in C?
Explanatory Question

What is the syntax for comments in C?

👁 885 Views
📘 Detailed Answer
🕒 Easy to Read
Read the answer carefully and go through the related questions on the right side to improve your understanding of this topic.

Answer with Explanation

Below is the syntax for comments in C. The characters or words or anything which are given between “/*” and “*/”, won’t be considered by C compiler for compilation process. These will be ignored by C compiler during compilation.

Syntax: /* your comments here */