Compiler Program
Compiler
A compiler is a program that reads a program written in one language the source language-and translates
into an equivalent program in another language-the target language. The translation process should also report the presence of errors in the source program.
Interpreter
An interpreter is a program that executes other programs. The interpreter and the underlying machine are combined into a virtual machine and simulate the execution of the input program on the virtual machine.
In general, the source language is any high level language, and the object language is an assembly/ machine language. We can show the general process of compilation by using following diagram.
Pre-processor is a program that processes its input data to produce output that is used as input to another program (compiler). The output is said to be a preprocessed form of the input data, which is generally used by compiler. Very basic work of pre-processor is to insert the files which are named in source program.
For example, let in source program, it is written #include “stdio.h”. The preprocessor replaces this file by its contents in the produced output.
The basic work of a linker is to merge object codes (that has not even been connected), produced by compiler, assembler, standard library functions, and operating system resources.
The codes generated by compiler, assembler, and linker are generally re-locatable by its nature, mean to say, the starting location of these codes are not determined, means, they can be anywhere in the computer
memory. Thus, the basic task of the loader is to find/calculate the exact address of these memory locations.
Dear Aspirants,
Your preparation for GATE, ESE, PSUs, and AE/JE is now smarter than ever — thanks to the MADE EASY YouTube channel.
This is not just a channel, but a complete strategy for success, where you get toppers strategies, PYQ–GTQ discussions, current affairs updates, and important job-related information, all delivered by the country’s best teachers and industry experts.
If you also want to stay one step ahead in the race to success, subscribe to MADE EASY on YouTube and stay connected with us on social media.
MADE EASY — where preparation happens with confidence.

MADE EASY is a well-organized institute, complete in all aspects, and provides quality guidance for both written and personality tests. MADE EASY has produced top-ranked students in ESE, GATE, and various public sector exams. The publishing team regularly writes exam-related blogs based on conversations with the faculty, helping students prepare effectively for their exams.
