Compiler |
Interpreter |
1. To compile the programme for which compiler is used. |
1. To interpret the programme
for which interpreter is used. |
2. Compiler is used to compile whole programme at a time and produce all
the errors after inspecting all the instructions. |
2. Interpreter is used to interpret the programme line by line and show immediately if found while interpreting. |
3. It check the whole programme once.
|
3. It checks the programme line by line and unless we correct the error occurred in respective line it won't interpret next line. |
4. It is much faster. |
4. It is slower as compared to compiler.
|
5. C is compiled language in which compiler is used to compiler the c code. |
5. Java is compiled + Interpreted
language in which compiler and interpreter both are used. |
Saturday, 26 October 2013
Difference between compiler and interpreter
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment