Multiple choice

Comments in code are used....

  1. To explain the code

  2. To ask the coder how he/she is doing

  3. To make the code work

  4. To avoid a syntax error

Reveal answer Fill a bubble to check yourself
A Correct answer
Explanation

Comments are non-executable lines in code used by programmers to document and explain what the code does for human readers. They do not affect program execution.