给出下面程序的运行结果。int i=0;main(){ int i=5;reset(i/2); printf("i=%d\n", i);reset(i=i/2); printf("i=%d\n", i);reset(i/2); printf("i=%d\n", i);workover(i); printf("i=%d\n", i);}workover(int i){ i=(i%i)*((i*i)/(2*i)+4);printf("i=%d\n", i);return(i);}reset(int i){ i=i<=2?5:0;return(i);}
给出下面程序的运行结果。int i=0;main(){ int i=5;reset(i/2); printf("i=%d\n", i);reset(i=i/2); printf("i=%d\n", i);reset(i/2); printf("i=%d\n", i);workover(i); printf("i=%d\n", i);}workover(int i){ i=(i%i)*((i*i)/(2*i)+4);printf("i=%d\n", i);return(i);}reset(int i){ i=i<=2?5:0;return(i);}
1