How can you differentiate runtime error n compile time error? Elobrate please | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 4

How can you differentiate runtime error n compile time error? Elobrate please

These two terms have similar or a little bit change meanings. please help me to understand...

19th Jun 2017, 5:58 PM
Sahil Luthra
Sahil Luthra - avatar
1 Answer
+ 5
If you cannot run the program due to an error, it is a compile error. If you are running the program and all of a sudden it crashes or throws an error, it is a runtime error. So runtime is a short term for: during the time that the program is running.
19th Jun 2017, 6:10 PM
Rrestoring faith
Rrestoring faith - avatar