Compiler is used in C Language and it translates the complete code into the Machine Code in one shot. On the other hand, Interpreter is used in Java Programming Langauge and other high-end programming languages. It is designed to compile code in line by line fashion.
Vishalini.R Answered question June 26, 2023
A Compiler looks at the entire program. An interpreter reads a single line of code. Compilers produce intermediate machine code. The Interpreters never produce intermediate machine code.
Vishalini.R Answered question June 26, 2023
