设数组data[m]作为循环队列SQ的存储空间,front为队头指针,rear为队尾指针,则执行出队操作后其头指针 front 值为
A.SQ.front=SQ.front+1 B.SQ.front=(SQ.front+1)%(m-1) C.SQ.front=(SQ.front-1)%m D.SQ.front=(SQ.front+1)%m正确答案D
设数组data[m]作为循环队列SQ的存储空间,front为队头指针,rear为队尾指针,则执行出队操作后其头指针 front 值为
A.SQ.front=SQ.front+1 B.SQ.front=(SQ.front+1)%(m-1) C.SQ.front=(SQ.front-1)%m D.SQ.front=(SQ.front+1)%m正确答案D