设C语言数组Data[m+1]作为循环队列SQ的存储空间,front为队头指针,rear为队尾指针,则执行出队操作的语句为
2023-12-01c++数据结构
设C语言数组Data[m+1]作为循环队列SQ的存储空间,front为队头指针,rear为队尾指针,则执行出队操作的语句为
A.front=front+1
B.front=(front+1)% m
C.rear=(rear+1)%(m+1)
D.front=(front+1)%(m+1)
正确答案是D
