判断顺序栈s满(元素个数最多n个)的条件是()。

判断顺序栈s满(元素个数最多n个)的条件是()。

A.s->top==0

B.s->top!=0

C.s->top==n-l

D.s->top!=n-l

正确答案:C

猜你喜欢