Difference between Compiler and Interpreter | C Programming and Computer Geeks

Search MY Blog

Saturday, 21 December 2013

Difference between Compiler and Interpreter

The main difference between Compiler and Interpreter is:
Compiler translates the program statements(Source Code) into Machine Code in one go i.e. all lines of program simultaneously. That's why all compiler based languages shows all the errors together.

While interpreter translates the source code into machine code one statement at a time. That's why program execution cannot proceed to next statement until the previous error is corrected/rectified.

Find more C Concepts here..

Search This Blog