判断一个顺序栈ST(最多元素为m0)为空的条件是:

判断一个顺序栈ST(最多元素为m0)为空的条件是:

A.ST->top<>0

B.ST->top<>m0

C.ST->top==m0

D.ST->top==0

正确答案:ST->top==0

猜你喜欢