+ 3

What's the difference between interpreter and compiler​?

1st Jun 2017, 4:25 PM
Siddharth Saraf
3 Answers
+ 4
an interpreter can translate only one line of code at a time but a compiler can translate a block of code at a time
1st Jun 2017, 4:56 PM
kshitij kumar
kshitij kumar - avatar
+ 3
Interpreter -- Compile one by one line (statement) of a program. If any statement found wrong, It won't compile and execute any further lines until you correct it. - Compiler -- Compile whole statements of a program and execute it.
1st Jun 2017, 5:01 PM
jamilxt
jamilxt - avatar
+ 1
interpreter will compile and runs the code compiler just compiles the code (process of converting programming language to machine code is called compilation)
1st Jun 2017, 4:34 PM
onekpsc