Answer:
B. Run-time Error
Explanation:
You can't divide by zero in math because it could be divided by itself an infinite number of time, which is not possible.
A. Syntax error is just the 'grammar' of the code. An example could be forgetting to add a semicolon at the end of your code in C. Another example is forgetting to close brackets or quotes
<em>printf("inclomplete string </em>WRONG, will give syntax error
B. Run-time error is an error that occurs while the program is running. This might happen because of many reasons, one of which is calculation errors such as dividing by 0.
C. I don't know what an Undetected Error is. Never hear of it.
D. Logic error is an error when a condition is not logically correct. This could be because you used the wrong type of operator.
if(a = b) WRONG, will give logic error
if(a == b) CORRECT