A.a[--top]=x B.a[top--]=x C.a[++top]=x D.a[top++]=x
A.top==0 B.top==1 C.top==-1 D.top==m
A.先進先出 B.后進先出 C.后進后出 D.不進不出