What is the difference between compiler and interpreter
Answers
Answered by
3
Answer:
[ Interpreter ]
.Translates program one statement at a time.
.Interpreters usually take less amount of time to analyze the source códe. However, the overall execution time is comparatively slower than compilers.
.No Object Códe is generated, hence are memory efficient.
[compiler ]
.Scans the entire program and translates it as a whole into machine códe.
.Compilers usually take a large amount of time to analyze the source códe. However, the overall execution time is comparatively faster than interpreters.
.Generates Object Códe which further requires linking, hence requires more memory.
Similar questions