题目内容:
设数组data[0…m]作为循环队列SQ的存储空间,front为队头指针,rear为队尾指针,则执行出队操作的语句为
A、front:=front1B、front:=(front1)modm
C、front:=(front1)mod(m1)
D、sq1front:=(sq1front+1)%(maxsize+1);
参考答案:
设数组data[0…m]作为循环队列SQ的存储空间,front为队头指针,rear为队尾指针,则执行出队操作的语句为
A、front:=front1