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 does c in a circle mean?

583


What does nil mean in c?

672


Give the rules for variable declaration?

677


What is bash c?

556


What is #line in c?

562






Explain the difference between the local variable and global variable in c?

601


What is union and structure in c?

617


Why structure is used in c?

590


What are the advantages of using macro in c language?

591


What is the process of writing the null pointer?

607


What is calloc malloc realloc in c?

594


Is main an identifier in c?

599


What is a header file?

635


What is a constant and types of constants in c?

602


What is null pointer in c?

594