Which type of error occurs during execution of a program?
-
A
Syntax error
-
B
Logic error
-
C
Runtime error
Correct answer
-
D
Compile error
Correct answer
C. Runtime error
14 views
Explanation
Runtime errors occur while the program is running, such as division by zero or invalid memory access. Source: mcqs.almcqs.com, Chapter 2, Q17.
Reference
Asked in: Matric,FBISE
Doubts & discussion
Not sure why the answer is C? Ask here and get an explanation.
Ask a doubt about this MCQ