What are the things contains in .obj file ? ( compiled result of .cpp file )

Showing Answers 1 - 3 of 3 Answers

Rahul Shukla

  • May 8th, 2006
 

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

divya

  • Dec 22nd, 2006
 

i guess it contain stsrtup code assembly instruction which used by compiler to compile the code

  Was this answer useful?  Yes

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.

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions