Comments in C || Lesson 85 || C Programming || Learning Monkey ||

preview_player
Показать описание
Comments in C

In this class, we will understand Comments in C.

The comment plays a vital role in writing ‘big’ programs.

The comments are given in the program to help the third person understand what’s happening in the program.

Comments in C

Comments clarify the C source code, allowing others to understand better what the code was for and greatly help debug the code.

We can comment in two different ways.

Multi-line comments
Single-Line Comments

Multi-line and Single-line Comments

The syntax for multi-line comment is /* comment here */.

Usually, multi-line comments are to elaborate a function.

The syntax for single-line comments is two forward slashes. //Comment Here.

#learningmonkey #cprogrammingforbeginners #placements #gatecse #cprogramming #cprogramminglanguage

Link for playlists:

Рекомендации по теме