Exam-style question
Try this first
Which of the following is NOT a benefit of using comments in code?.
- A.They explain the code logic
- B.They make the code run faster
- C.They help others understand the code
- D.They provide context for future modifications
Answer and explanation
Concise answer
They make the code run faster
Why this is correct
Comments do not affect the execution speed of the code; they are purely for documentation purposes.
Use the concise answer above for a quick check, then reveal the full model answer and detailed explanation.
Common mistake
No common mistake is linked to this question yet.
