#include void MyProc(); int GA; //global int main(){ int i; GA=1; for(i=1;i<10;i++) MyProc(); printf("GA=%d \n",GA); return 0 ; } void MyProc(){ static int SA=2; SA=SA+1; printf("SA=%d\n",SA); }