Computer Science, asked by pihu72, 1 year ago

what is the difference between an interpreter and a compiler


siddhant39: Interpreter Vs Compiler : Difference Between Interpreter and Compiler. We generally write a computer program using a high-level language. ... Scans the entire program and translates it as a whole into machine code. It takes less amount of time to analyze the source code but the overall execution time is slower.

Answers

Answered by AJAYMAHICH
15
Compiler :
A compiler is a programming language translator which converts High Level Language program to its equivalent Intermediate Code. Compiler read complete program once and compiles complete code.

interpreter :
An Interpreter is a programming language translator which converts High Level Language program to its equivalent Machine Code. Interpreter reads program line by line or we can say statement by statement and if statement is error free, it converts into machine code
Similar questions