Wednesday, February 10, 2010

simple c program for local variable

#include
#include
int main()
{
int index;

 index = 13;
  printf("The value of the index is %d\n", index);
   index = 27;
   printf("The value of the index is %d\n", index);
   index = 10;
   printf("The value of the index is %d\n", index);
getch();
   return 0;
}

No comments:

Post a Comment