Write a program to show the usage of storage class:auto.
/* Write a program to show the usage of storage class:auto*/
#include
<stdio.h>
void disp()
{
auto int i=20;
printf("I = %d\n",i);
i++;
}
void main()
{
disp();
disp();
disp();
getch();
}
Comments
Post a Comment