Which statement correctly explains Runtime error?
- A. An error that occurs while a program is executing, often causing it to crash or behave unexpectedly. ✓
- B. An error that occurs when code does not follow the grammatical rules of the programming language.
- C. The set of rules that determines the order in which operators are evaluated in an expression.
- D. The process of repeating a set of instructions until a specific condition is met.
Correct answer
A. An error that occurs while a program is executing, often causing it to crash or behave unexpectedly.
Explanation
Runtime error refers to an error that occurs while a program is executing, often causing it to crash or behave unexpectedly.