以下程序的输出结果是_ 。 #include<stdio.h> void sub(int *s,int y) { static int t=3; y=s[t]; t--; } main() { int a[ ]={1,2,3,4},i,x=0; for(i=0;i<4;i++) { sub(a,x); printf("%d",x); } printf(""); }

时间:2023-02-03 16:11:54

相似题目