Both Compiler and Interpreter do the same thing (Source Code) into (machine code) but in different behaviours.
different behaviours listed below.
Sr. | Compiler | Interpreter |
---|---|---|
1 | Compiler Translate entire program into computer undertandable language ie machine code | interpreter tranlate program line by line into computer undertandable language ie machine code. |
2 | ||