What is compilation error? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

What is compilation error?

and how do I solve it?

18th Dec 2016, 7:56 AM
Edwin Pratt
Edwin Pratt - avatar
2 Answers
+ 11
If the compiler is not able to understand the code, it results in an compilation error .Also the compiler points the line number and information about the error which helps in resolving it. Based on the error you should be able to understand how to make it work. If the error is complex , search for the error in Google to get some pointers on resolving it.
18th Dec 2016, 8:06 AM
manoj katari
manoj katari - avatar
0
all syntax error will be detected By compiler suppose if your missing semicolon the error categorized in compiler error .
18th Dec 2016, 8:19 AM
Mock
Mock - avatar