Compiler and Interpreter
What is compiler and Interpreter?
Differentiate between in Compiler and Interpreter.
There is some difference in compiler and interpreter both
are converter. Compiler work is convert full code in machine language and give
result. But interpreter work like line by line first read one line and give
result then goes to another line. Both are work is same they do convert high
label to low label and low label to high label.
Source Code → Compiler→ Machine Code→ Output
Source Code → Interpreter → Output
Source Code → Compiler→ Machine Code→ Output
Source Code → Interpreter → Output
Example:
Compiler work in C, C++ etc.
Interpreter work in Java etc.
