DEV Community

Sujith V S
Sujith V S

Posted on • Edited on

1 1 1 1 1

Comments in C

In programming we can write comments in two ways. One is single line comments and the other is multi-line comments.

Single line Comment

// must be used to create single line comment.

Shortcuts:
win: ctrl + /
mac: cmd + /

Multi-line Comment

/* */ must be used to create multi-line comment.

Shortcuts:
win: ctrl + shift + /
mac: cmd + shift + /

Top comments (0)

Heroku

Build apps, not infrastructure.

Dealing with servers, hardware, and infrastructure can take up your valuable time. Discover the benefits of Heroku, the PaaS of choice for developers since 2007.

Visit Site

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay