What are the steps involved in compilation process and explain briefly?
Answers
Answered by
3
Answer:
The steps involved are
1. Preprocessing
2. Compiling
3. Assembly
4. Linking
Explanation:
1. Preprocessing : It includes preprocessor directive Like #include in C. It removes comments, replaces macro code, and replaces symbolic constants.
2. Compliling: Checks for any syntatic errors, generates assembly code or intermediate language code.
3. Assembly Code: Converts assembly code or intermediate language code to machine code (i.e., Zero and ones) known as Onject code
4. Linking: Links all the object code, library codes, and function code. Now it is ready to execute.
Similar questions