单选题

向一个顺序栈S(栈顶指针为top)中插入元素x时,首先要()。

AS->stack[S->top]=x

BS->top++

CS->top--

Dx=S->stack[S->top]

正确答案

来源:www.examk.com

答案解析