Tuesday, 2 June 2015

variable value stored in c program

Variable value stored in c program



alltechprogramsSource Program



#include <stdio.h>

int main()

{

 int sum, Sum ;

 sum = 10 ;
 Sum = 20;

 printf(" The value stored in two different identifiers  are : ");

 printf(" \n sum is : %d \n Sum is : %d \n", sum, Sum);

 getchar();

 return(0);

}



OutPut


The value stored in two different identifiers  are :

sum : 10
sum : 20



No comments:

Post a Comment