问题 更新时间2023/6/28 20:28:00 写出下列程序执行后的结果SeqStack S;InitStack(S); Push(S,3); Push(S,4); Push(S,5); int x=Pop(S)+2*Pop(S); Push(S,x); int i,a[4]={5,8,12,15}; for (i=0;i<4;i++) Push(S,a[i]); while(!StackEmpty(S)) Printf(“%d “,Pop(S));执行后的输出结果为:__________________。A.15 12 8 5 13 3B.3 5 8 12 13 15C.15 13 12 8 5 3D.15 12 13 3 8 5 答案 登录 注册 A. 15 12 8 5 13 3 出自:国家开放大学 >> 国家开放大学数据结构复习题