what is a compiler & interpreter
Answers
Answered by
1
Answer:
The main difference is that an interpreter directly executes the instructions in the source programming language while a compiler translates those instructions into efficient machine code. An interpreter will typically generate an efficient intermediate representation and immediately evaluate it.
Answered by
1
Interpreter-
Translates program one statement at a time.
It takes less amount of time to analyze the source code but the overall execution time is slower.
Compiler-
Scans the entire program and translates it as a whole into machine code.
It takes large amount of time to analyze the source code but the overall execution time is comparatively faster.
mark as brainliest.
Similar questions