What is difference between compile time and run time error | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is difference between compile time and run time error

26th Nov 2016, 3:29 AM
Pratik Mohite
Pratik Mohite - avatar
2 Answers
- 1
compile time error is nothing the errors which are shown during the compile time itself. It doesn't allows us to execute the program if the error is not rectified. But in run time error is something which occurs during program execution. It cannot be corrected
26th Nov 2016, 6:29 AM
joffie
joffie - avatar
+ 3
compile time -> there is a problem that makes a compiler fail ( i.e. syntax error) run - time -> an error occours during the execution of the programam ( i.e. divide a number for 0)
26th Nov 2016, 3:43 AM
Maurizio Urso
Maurizio Urso - avatar