Hello, OnlineGDB Q&A section lets you put your programming query to fellow community users. Asking a solution for whole assignment is strictly not allowed. You may ask for help where you are stuck. Try to add as much information as possible so that fellow users can know about your problem statement easily.

difference between object code and source code

0 votes
asked Feb 21, 2018 by anonymous

1 Answer

+1 vote
answered Feb 23, 2018 by Balaji

After compilation of source code (without linking) we will get object code.

Source Code:

  • Header files are included (in high level language)
  • source code is portable to machine
  • Source code is easily human understandable and can be fixed to another machine by minor changes

Object Code:

  • Library files are included (in binary)
  • object code is specific to machine
  • Object code is machine understandable and highly specific to machine.
  • Linking of library and other supporting files are required to execute.
Welcome to OnlineGDB Q&A, where you can ask questions related to programming and OnlineGDB IDE and and receive answers from other members of the community.
...