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

What else can I help you with?

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


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 a difference between Programming language and peoplecode?

Logic is same, but syntax is different.


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


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.


What is Difference between programmable logic array and programmable array logic?

Using and gate - pla is programmable while pal is fixed


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 the difference between runtime errors and compile time error?

Compile time errors occur do to syntax errors (such as forgetting a semi-colon at the end of a line) and they prevent your program from even compiling. A runtime error is an error in logic in your program. Your program will compile, however while running the program it will throw an error because it tries to do something illegal (such as dividing by 0).