Source Code & Object Code and Difference between them

Source code:-
A program written in a high-level language is called source code. Source code is also called source program. Computer cannot understand the statements of high-level language. The source code cannot be executed by computer directly. It is converted into object code and then executed.
Object code:-
A program in machine language is called objet code. It is also called object program or machine code. Computer understands object code directly.

Difference Between Source Code and Object Code:-
Source Code :


  1. Source Code is In the form of Text.
  2. Source Code is Human Readable.
  3. Source Code is Generated by Human.
  4. Source Code is Input Given to Compiler.
Object Code :


  1. Object Code is in the form of Binary Numbers.
  2. Object Code is in Machine Readable.
  3. Object Code is Generated by Compiler.
  4. Object code is Output of Compiler.
Source Code & Object Code and Difference between them  Source Code & Object Code and Difference between them Reviewed by ANAND PANDEY on 7:01:00 AM Rating: 5

No comments:

Created By Anand Pandey. Powered by Blogger.