Difference between compiler and interpreter
We generally write a computer program using high level programming language. A high level language is understandable by human and this high level language is called source code.
The high level language is not understandable by computer or machine. It only understands the program which is written in 0’s and 1’s in binary which is known as machine code.
To convert the high level language or source code into machine code, we use compiler or interpreter.
The compiler and interpreter and compiler both are used for convert a program in high level language to low level or machine programming language.
So, we can say compiler and interpreter are converter which convey source code to machine code.
Both of them do same work but there have some difference between compiler and interpreter.
here the difference between compiler and interpreter