Differentiate between the Compiler and Interpreter
Question :
Differentiate between the Compiler and Interpreter
Compiler | Interpreter |
It converts the entire program into its machine code at once | It converts the entire program into its machine code line by line |
It displays the errors of the entire program only after compilation. | It displays the errors of one line at a time during the conversion to its machine code |
The control moves to the next line irrespective of any errors in the previous line. | The control doesn't move to the next line until the previous line is error-free. |