Computer Science, asked by maazshaikh98, 1 year ago

Why do we use comments ?

Answers

Answered by shikhar2636
1

Explanation:

this is the answer okkk

Attachments:
Answered by mariospartan
2

Explanation:

Comments are used to explain the program so that any of the other programmer can understand and continue the program or debug in later years.

  • Make source code easier for human
  • It will be ignored by compiler and interpreter
  • Even there is a syntax to be followed while giving comment. Some programming allows user to enter comment within /*comment*/ and certain language uses // comment to provide comment.
  • Makes code maintenance easier

To be cautious:

Too much of comment indicates bad programming.

Comments should not be used for explaining step by step of the program

To Know More:

https://brainly.in/question/3824266

Q7 What is the advantage of writing comments in programming?

https://brainly.in/question/1331502

What is the role of comments and indentation in a program ? its urgent

Similar questions