Friday, February 15, 2013

Ques-1:What is the of definition of Source code & Object code?

The ques-1 solution is given below.

Answer:

Source code:  Source  code is the human readable instructions that a programmer writes.Here is an example of C source code.


void main()
{
   float  radius, area;
   printf( "  radius=? " );
   scanf( " %f " ,&radius );
   area=3.1416*radius*radius;
   printf( " The area of the circle is=%f ",area);
}




Object code:  Object code is name of the instructions that a CPU can read and execute directly.It is also called Machine code.


1 comment: