"經(jīng)過下列棧的運算后,x的值是() InitStack(s)(初始化棧);Push(s,a);Pop(s,x);Push(s,b);Pop(s,x);"
A.a B.b C.1 D.0
A.s[--top]=e; B.e=s[++top]; C.e=s[top--]; D.s[++top]=e;
A.棧底B.棧頂C.棧中D.以上都不對