What are the different steps to form an executable file from c source code?
Friday, February 17, 2023
Add Comment
Question: What are the different steps to form an executable file from c source code?
1. Preprocessing - Preprocessing of C source code involves expanding macros and include files, as well as other processing.
2. Compilation - Compile the preprocessed C code into object code, which contains machine language corresponding to the program statement.
3. Assembly - assemble the object code into a form that can be loaded and stored in memory.
4. Linking - link the object code with libraries to form an executable program.
5. Loading - load the executable into memory for execution.
0 Komentar
Post a Comment