Advertisements
Advertisements
Question
Categorize the following as syntax error, logical error, or runtime error:
25 / 0
Options
Syntax error
Logical error
Runtime error
MCQ
Short Note
Solution
Runtime Error.
The syntax for the division is correct. The error will arise only when the 'interpreter' will run this line.
shaalaa.com
Debugging
Is there an error in this question or solution?