Computer Science, asked by snehajm3031, 1 year ago

What are the stages of compilation and linking?

Answers

Answered by wosaasrec
31

THERE ARE 4 STAGES OF COMPILING AND LINKING

Compiling a  program is a multi-stage process. At an overview level, the process can be split into four separate stages: Preprocessing, compilation, assembly, and linking.

Answered by smartbrainz
48

Preprocessing, compilation, assembly, and linking.

Explanation:

The four steps of 'compilation' are Preprocessing, compilation, assembly, and linking.  

  • 'Preprocessing' is the first step of any C 'compilation'. This process takes include-files, conditional statement instructions and macros in the source code and create output.
  • 'Compilation' is the second part. This uses the output generated by the 'preprocessor' and generates assembler code.
  • 'Linking' is the process handled by a linker to bundle the assembly code into the executable file.

Similar questions