what are the compilation steps?
( i want inside the compiler )
Answer Posted / sai
Before the compilation of any C program Saved as a .C
extention. In C compiler architecture there is a
preprocesser algoritham i.e is used to preprocess the
header files. After including the header files there is a
compiler algorithm that generates .asm file to .c file.
The .obj file is generated from .asm by using assembler
algorithm. the .obj files are 2 types.
1. .boj file for library functions
2. .obj file for user defined functions
There is a linker algorithm to combine and generate .exe
file for .obj files. After .exe file the program executed
sucessfully.
| Is This Answer Correct ? | 6 Yes | 0 No |
Post New Answer View All Answers
What are enums in c?
What is static and volatile in c?
Explain the use of fflush() function?
How does free() know explain how much memory to release?
How can I read/write structures from/to data files?
What do you understand by friend-functions? How are they used?
Where static variables are stored in c?
What are loops c?
Is r written in c?
What is a header file?
How can you find the day of the week given the date?
What does the && operator do in a program code?
What are the 32 keywords in c?
I need testPalindrome and removeSpace
#include
What are the types of assignment statements?