单项选择题

下列程序的运行结果是( )。 #include<stdio.h> void fun(int*s,int*p) {static int t=3; *p=s[t]; t--; } void main() {int a[]={2,3,4,5},k,x; for(k=0;k<4;k++) {fun(a,&x); printf("%d,",x); } }

A.5,4,3,2,
B.2,3,4,5,
C.2,2,2,2,
D.5,5,5,5,