GeekInterview.com
  I am new, Sign me up!
 
GeekInterview.com  >  Interview Questions  >  Programming  >  C++
Go To First  |  Previous Question  |  Next Question 
 C++  |  Question 81 of 203    Print  
What are the things contains in .obj file ? ( compiled result of .cpp file )

  
Total Answers and Comments: 3 Last Update: January 24, 2007     Asked by: Subash 
  
 Sponsored Links

 
 Best Rated Answer
Submitted by: Rahul Shukla
 

C++ .obj file holds code and data suitable for linking with other object files to create an executable or a shared object file.



Above answer was rated as good by the following members:
yzesong
May 08, 2006 06:19:33   #1  
Rahul Shukla        

RE: What are the things contains in .obj file ? ( com...

C++ .obj file holds code and data suitable for linking with other object files to create an executable or a shared object file.


 
Is this answer useful? Yes | NoAnswer is useful 1   Answer is not useful 0Overall Rating: +1    
December 22, 2006 15:27:50   #2  
divya        

RE: What are the things contains in .obj file ? ( com...
i guess it contain stsrtup code assembly instruction which used by compiler to compile the code
 
Is this answer useful? Yes | NoAnswer is useful 0   Answer is not useful 1Overall Rating: -1    
January 24, 2007 23:37:57   #3  
smart_coder Member Since: January 2007   Contribution: 290    

RE: What are the things contains in .obj file ? ( com...
Object file is the representation of code that a compiler generates by processing a source code file. Object files contain compact code often called binaries . A linker is used to generate an executable or library by linking object files together. An object file consists of machine code (code directly executed by a computer's CPU) together with relocation information program symbols (names of variables and functions) and possibly debugging information.
 
Is this answer useful? Yes | No


 
Go To Top


 Sponsored Links

 
About Us -  Privacy Policy -  Terms and Conditions -  Contact -  Ask Question -  Propose Category -  Site Updates 

Copyright © 2005 - 2009 GeekInterview.com. All Rights Reserved

Page copy protected against web site content infringement by Copyscape