answersLogoWhite

0

errors which come during compilation is known as compilation error.

here we get syntax errors only not logical errors like division by zero.

logical error occur during run time

example:if you write a program for division with zero you will not get compilation error but during execution you will error

User Avatar

Wiki User

12y ago

Still curious? Ask our experts.

Chat with our AI personalities

TaigaTaiga
Every great hero faces trials, and you—yes, YOU—are no exception!
Chat with Taiga
ViviVivi
Your ride-or-die bestie who's seen you through every high and low.
Chat with Vivi
DevinDevin
I've poured enough drinks to know that people don't always want advice—they just want to talk.
Chat with Devin

Add your answer:

Earn +20 pts
Q: What is the difference between a compilation error and logic error?
Write your answer...
Submit
Still have questions?
magnify glass
imp