Auto Data Type


#include<stdio.h>
void main()
{
 auto int i=100;
 printf("i=%d\n",i); //100
 {
  int i=1;
  printf("i=%d\n",i);  //1
  {
   i=i+1;
   printf("i=%d\n",i); //2
  }
   printf("i=%d\n",i); //2
 }
getch();
}

Post a Comment

Previous Post Next Post