C PROGRAMMINGCOMPILER DESIGNSOFTWARE ENGINEERING

Compiler and Interpreter

Compiler and Interpreter


Compiler

Is a translator program used to convert high level program into machine language. These compilers converts whole program at a time into machine code hence are fast in terms of conversion. After compiling the source code, object code is saved in a file with (*.obj) extension. If there is an bug in the program the program will not run.

Interpreter 

Is also a translator program which converts program line by line and is slow in speed in terms of conversion. After converting program into machine code object code is not saved due this every time it needs to generate whole object code. If there is a bug in the program it will run up to bugged line.

Show More

Related Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

Back to top button