循环队列存储在数组A[0..m]中,则入队时的操作为()。
A.rear=rear 1
B.rear=(rear 1)mod(m-1)
C.rear=(rear 1)modm
D.rear=(rear 1)mod(m 1)
正确答案:rear=(rear 1)mod(m 1)
猜你喜欢