单项选择题

在顺序栈中,假设栈顶指针top是指向栈顶元素的下一个存储单元,使用stackElem[]数组存储顺序栈,则栈顶元素的访问形式是()。

A.stackElem[0]
B.stackElem[top]
C.stackElem[top-1]
D.top.data