24 - Difference between Syntax error and Runtime error.

Difference between Syntax error and Runtime error.



A syntax error is caught by the compiler or interpreter and it's incorrect use of the language itself.

Whereas a runtime error is a problem that cannot be detected before the code runs but causes an issue that is caught during the program run.

Post a Comment

0 Comments
* Please Don't Spam Here. All the Comments are Reviewed by Admin.