Q. What is the role of comments and indentation in a program?


Answer :-

Comments provide explanatory notes to the readers of the program. Compiler or interpreter ignores the comments but they are useful for specifying additional descriptive information regarding the code and logic of the program.

Indentation makes the program more readable and presentable. Its main role is to highlight nesting of groups of control statements.

Post a Comment

You can help us by Clicking on ads. ^_^
Please do not send spam comment : )

Previous Post Next Post