设用数组data[1….n] 存储一个栈,初始栈顶指针 top=1, 则元素x 入栈的操作是()。 A . data[top–] =x B.data[top++]=x
C. data[–top]=x D.data[++top]=x
[tag_link]
正确答案:B