Comments in C
×


Comments in C

3245

In the C language, the comments are added in the source code that is ignored by the compiler. Comments help the user to easily understand the C source code and provide clarity on the source code.

It also helps in error-free debugging of the code.


Comments can be of two types:

1 Single-Line Comments: This starts with // and continue until the end of the line.

2 Multi-Line Comments: This starts with /* and ends with */.

Example:

/* comment goes here */

or

/*
comment goes here
*/



Best WordPress Hosting


Share:


Discount Coupons

Get a .COM for just $6.98

Secure Domain for a Mini Price



Leave a Reply


Comments
    Waiting for your comments