Anybody can explain between Compiler and Interpreter. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Anybody can explain between Compiler and Interpreter.

It's always confusing me.

1st May 2023, 3:55 PM
Suraj
Suraj - avatar
1 Answer
+ 5
Compiler: Reads code at once then give output/error Interpreter: Read codes line by line and generate output/error side by side on this basis compiler gives one advantage that we can see all errors at once while interpreter stop executing after any error Compiler are machine dependents while interpreter aren't. Cool fact: Java is compiled+interpreted language ask further questions from this, I can answer all questions on this topic
1st May 2023, 4:12 PM
I am offline
I am offline - avatar