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
How would you use the functions fseek(), freed(), fwrite() and ftell()?
How can I read/write structures from/to data files?
What does & mean in scanf?
Explain enumerated types in c language?
Why do we need arrays in c?
Why malloc is faster than calloc?
What are the types of pointers in c?
Write a C program on Centralized OLTP, Decentralized OLTP using locking mechanism, Semaphore using locking mechanism, Shared memory, message queues, channel of communication, sockets and a simple program on Saving bank application program using OLTP in IPC?
How do we declare variables in c?
Does c have circular shift operators?
What is use of null pointer in c?
How do you sort filenames in a directory?
What is the advantage of c?
Explain output of printf("Hello World"-'A'+'B'); ?
What are the standard predefined macros?