Compilation (कम्पाइलेशन):-

Compilation (कम्पाइलेशन) वह प्रक्रिया (Process) है जिसमें High-Level Language में लिखे गए पूरे Program को Compiler की सहायता से Machine Language (Object Code) में बदला जाता है, ताकि Computer उसे समझकर Execute (चल) कर सके।
यदि Program में कोई Error होती है, तो Compiler उसे Compile करते समय दिखाता है।
English
Compilation is the process of converting a complete program written in a High-Level Language into Machine Language (Object Code) using a Compiler, so that the computer can execute it.
If the program contains errors, the compiler reports them during compilation.
Need of Compilation (कम्पाइलेशन की आवश्यकता):-
1.6.2 Compilation Process (कम्पाइलेशन प्रक्रिया):-
Compilation Process कई चरणों (Phases) में पूरी होती है।
Step 1 : Source Code
Programmer C, C++ या Java जैसी भाषा में Program लिखता है।
⬇
Step 2 : Compilation
Compiler पूरे Program की Syntax और Errors की जाँच करता है।
⬇
Step 3 : Object Code
यदि कोई Error नहीं होती, तो Compiler Object Code बनाता है।
⬇
Step 4 : Linking
Linker आवश्यक Library Files को जोड़ता है।
⬇
Step 5 : Executable File
Executable File (.exe) तैयार होती है।
⬇
Step 6 : Execution
Computer Program को चलाकर Output देता है।