No products in the cart.

What is the role of comment …

CBSE, JEE, NEET, CUET

CBSE, JEE, NEET, CUET

Question Bank, Mock Tests, Exam Papers

NCERT Solutions, Sample Papers, Notes, Videos

What is the role of comment and indentation in a program?
  • 1 answers

Meghna Thapar 4 years, 4 months ago

In computer programming languages, indentation is used to format program source code to improve readability. Indentation is generally only of use to programmers; compilers and interpreters rarely care how much whitespace is present in between programming statements. The readability of code is highly important when writing programs. ... Indentation can be used to separate blocks of code such as selection statements and loops; thus making them easier to locate and read. Indentation and line spacing can also improve the structure of a program also making it easier to read.

http://mycbseguide.com/examin8/

Related Questions

What are called tokens
  • 2 answers

myCBSEguide App

myCBSEguide

Trusted by 1 Crore+ Students

Test Generator

Test Generator

Create papers online. It's FREE.

CUET Mock Tests

CUET Mock Tests

75,000+ questions to practice only on myCBSEguide app

Download myCBSEguide App