Answer the question
In order to leave comments, you need to log in
How to identify compiler errors and runtime errors?
I want to clarify about the differences between compilation errors and run-time errors. It is clear that in the process of executing the program, everything will be shown and written to us. How to formulate the differences between them? What are compilation errors, and what are runtime errors?
Answer the question
In order to leave comments, you need to log in
The difference between these errors is the timing of their discovery. Compilation errors, as the name suggests, are detected at compile time. Runtime errors can be detected when the program is launched, if you are lucky, and the code branch containing the error will be executed on the test data.
Compilation errors are syntax errors.
Execution errors are errors in logic.
This is if in a nutshell.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question