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


Please Help Members By Posting Answers For Below Questions

what is the role you expect in software industry?

1650


How can you pass an array to a function by value?

597


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

3245


What should malloc() do?

639


What is a stream in c programming?

588






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.

2449


Define VARIABLE?

686


What is formal argument?

644


What are terms in math?

585


What is c language and why we use it?

617


What are the string functions? List some string functions available in c.

600


Explain how do you use a pointer to a function?

637


Why does not c have an exponentiation operator?

625


What are predefined functions in c?

560


How do you use a 'Local Block'?

715