What is Source Code and Object Code?

Source Code and Object Code


Source Code and Object Code

There are two types of codes are used by programmers and computer including source code and object code. As we have divided programming languages into two categories high level languages and low level languages so two types of codes are defined below.


Source Code: 

A program code that is written according to the rules of any high level programming languages are called “source code” or “source program”. Computer cannot understand the statements written in any high level language. Source program cannot execute by the computer directly. It must be translated into machine code or object code by using language translator.


Object Code: 

A program in machine language is called “Object Code” or “Object Program”. Computer understands object code directly.

Post a Comment

Previous Post Next Post