Computer Science for IGCSE & O level - Programming (Section 2 - No. 1)

What is the role of a 'comment' in source code?
To instruct the computer to perform a specific task.
To increase the execution speed of the code.
To provide explanations for humans reading the code.
To create variables within the code.

Explanation

Comments are used for documentation and do not affect program execution.

Comments (0)

Advertisement