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

What is the primary function of comments in code?
To generate machine code faster.
To provide explanations to the programmer and others reading the code.
To change how the program performs its operations.
To decrease the program's memory usage.

Explanation

Comments enhance readability and provide context.

Comments (0)

Advertisement