Computer Science, asked by suhanrRajii, 1 year ago

difference between compiler and interpreter

Answers

Answered by riyatyagi014
87
An interpreter converts a program written in a High Level Language into machine language program line-by-line .
A compiler converts an entire program written in HLL  into machine language in on go.
Interpreter works faster than a compiler and is not needed to be in the memory with program for its execution, unlike a compiler.
Answered by sunaina21
36
a COMPILER searches all the errors of program and list them. If the program is error free then it converts the code of program into machine code and then the program can be executed by separate commands. An INTERPRETER checks the error of a program statement by statement.
Similar questions