Thursday 9 July 2015

Difference b/w Compiler and Interpreter :


Compiler :

  1. Compiler converts a program into machine code as a whole.
  2. Compiler creates object code file.
  3. Program execution is fast.
  4. Compiler displays syntax errors after compiling the whole program. 




Interpreter :

  1. Interpreter converts a program into machine code statement by statement.
  2. Interpreter does not create object code file.
  3. Program execution is slow.
  4. Interpreter displays the syntax error on each statement of program.

No comments:

Post a Comment