判断一个循环队列Q(空间大小为M)为空的条件是()。
A.Q-〉front==Q-〉rear
B.Q-〉rear-Q-〉front-1==M
C.Q-〉front 1=Q-〉rear
D.Q-〉rear 1=Q-〉front
正确答案:A
猜你喜欢