填空题

以下程序的运行结果是______。 struct Node} int x; char ch; }; fun(struct Node*sn) } static k=1; sn->x=20; Sn->ch=’a’+k++; } main() { int i; static struct Node st=}10,’a’}; for(i=0;i<2;i++) fun(&st); printf("%d,%c\n",st.x,st.ch); }

【参考答案】

B0,c。
热门 试题