一个顺序栈S,其栈顶指针为top,则将元素e入栈的操作是()。

一个顺序栈S,其栈顶指针为top,则将元素e入栈的操作是()。

A.*S-〉top=e;S-〉top ;

B.S-〉top ;*S-〉top=e;

C.*S-〉top=e

D.S-〉top=e;

正确答案:A

猜你喜欢