answersLogoWhite

0


Best Answer

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

11y ago
This answer is:
User Avatar

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
Related questions

Which type of error is is more difficult to detect and correct either syntax error or logic error?

The logic error is more difficult to detect and correct than the syntax error. The syntax error will fail compilation, and you will get a (relatively) clear indication of where the problem lies. The logic error, on the other hand, will give you a successful compilation, and a program that appears to run, although it will not give you the correct results. This causes you to perform (unit) testing and debugging of various levels.


What is the difference between a semantic error and logic error?

An error in the logic of a program means that the output of the program is faulty (eg the program tell you 2+2=5). An error in semantics in a program means that the program statements are not constructed properly and the usual result of this is that the program will not compile.


Difference between ladder logic and relay logic?

nmbjbjkjlkkljjgffhk;kh


1 What are the differences between propositional and first order logic?

Difference between Propositonal and Predicate logic


Difference between logic probe and logic pulser?

1v1 me i will wreck u m8


What is the difference between traditional logic and modern symbolic logic?

Check out the related links section for the history of symbolic logic. And traditional logic


What is the difference between a PLD and mixed logic gates?

Answering "What is differences between pld and mixed logic gatessuch as the 7400 7432 ic logic device name one pld device?"


What is the difference between a Theory and a Logic?

A theory is just a thought. Logic is when a theory has been put to the test and is proved to be correct.


Why was logic designated as organon by aritotle?

Don't know much on the subject, but I been looking for logic works, and apparently Aristotle's students called "Organon" the compilation of all his logic works


Method for minimising logic error?

BASICALLY, to minimise logic error, you need to stop being a tutti and be more of a kutha


What is a difference between Programming language and peoplecode?

Logic is same, but syntax is different.


What is difference between logic and thought?

Logic comes out from thought so both are related directly. If you shall think about something and then you come out on some results that becomes logic.