Why do we use comments ?
Answers
Answered by
1
Explanation:
this is the answer okkk
Attachments:
Answered by
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
Hindi,
6 months ago
Social Sciences,
6 months ago
Computer Science,
1 year ago
Science,
1 year ago
Physics,
1 year ago
Social Sciences,
1 year ago