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 is the role you expect in software industry?
How can you pass an array to a function by value?
If a five digit number is input through the keyboard, write a program to print a new number by adding one to each of its digits.For example if the number that is input is 12391 then the output should be displayed as 23402
What should malloc() do?
What is a stream in c programming?
write a C program: To search a file any word which starts with ?a?. If the word following this ?a? starts with a vowel.Then replace this ?a? with ?a? with ?an?. redirect with the output onto an output file.The source file and destination file are specified by the user int the command line.
Define VARIABLE?
What is formal argument?
What are terms in math?
What is c language and why we use it?
What are the string functions? List some string functions available in c.
Explain how do you use a pointer to a function?
Why does not c have an exponentiation operator?
What are predefined functions in c?
How do you use a 'Local Block'?