Question: what is the difference between run time error and syntax error?
Answer: Runtime error: An error that occurs during the execution of a program. In contrast, Syntax errors occur while a program is being compiled. Runtime errors indicate bugs in the program or problems that the designers had anticipated but could do nothing about.