Which of the following best describes Code comment?
- A. An automatic memory management process that reclaims memory occupied by objects no longer in use.
- B. A line of text in source code that is ignored by the compiler or interpreter and used to explain the code. ✓
- C. An informal, high-level description of a program's logic that is not tied to any specific programming language syntax.
- D. The process of repeating a set of instructions until a specific condition is met.
Correct answer
B. A line of text in source code that is ignored by the compiler or interpreter and used to explain the code.
Explanation
Code comment refers to a line of text in source code that is ignored by the compiler or interpreter and used to explain the code.