设数组data[m]作为循环队列SQ的存储空间 front为队头标识 rear为队尾标识 则执行出队操作时对fro
已帮助 人
设数组data[m]作为循环队列SQ的存储空间,front为队头标识,rear为队尾标识,则执行出队操作时对front执行的操作是______。
A.front=front+1
B.front=(front+1)%(m-1)
C.front=(front-1)%m
D.front=(front+1)%m
![设数组data[m]作为循环队列SQ的存储空间 front为队头标识 rear为队尾标识 则执行出队操作时对fro](/uploads/allimg/6-2480052Q9.jpg)
回答
共1条回复-
s1.rear=(sq.rear+1)%m
