Question:
What are the things contains in .obj file ? ( compiled result of .cpp file )
Answer:
C++ .obj file holds code and data suitable for linking with other object files to create an executable or a shared object file. Source: CoolInterview.com
when we compile program,compiler executes all lines creats an object file.(f9).When we run the program a linker converts obj file into executable file & stores as exe file so that every time at the time of running program only exe file is executed.but any change made in program will recompile whole program. Source: CoolInterview.com
Answered by: Z.rajesh | Date: 8/28/2009
| Contact Z.rajesh
If you have the better answer, then send it to us. We will display your answer after the approval.
Rules to Post Answers in CoolInterview.com:-
- There should not be any Spelling Mistakes.
- There should not be any Gramatical Errors.
- Answers must not contain any bad words.
- Answers should not be the repeat of same answer, already approved.
- Answer should be complete in itself.
|