English, asked by reashmasajilsajil, 9 months ago

| 10, What is the use of comments in a programme? List
out two ways to Include comments in C+ + program.

Answers

Answered by philippothenoli
0

Explanation:

One important part of good documentation in c++ is Comments.

There are usually two syntactic ways to comment. The first is called a single line comment and, as implied, only applies to a single line in the "source code" (the program). The second is called a Block comment and refers usually refers to a paragraph of text.

When and Why to use Comments in programming?

A person reading a large code will be bemused if comments are not provided about details of the program.

Comments are a way to make a code more readable by providing more description.

Comments can include a description of an algorithm to make code understandable.

Comments can be helpful for one’s own self too if code is to be reused after a long gap.

hope it helps please mark brainliest

Similar questions