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.
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..