Computer Science for IGCSE & O level - Programming (Section 6 - No. 44)

What are comments mainly used for in code?
To generate machine code faster.
To provide explanations and document the code.
To change the program's output.
To make the code more complicated.

Explanation

Comments enhance code readability and provide context.

Comments (0)

Advertisement