以数组Data[m+1]作为循环队列SQ的存储空间,front为头指针,rear为队尾指针,则执行出队操作的语句是()。
考试:军队文职人员招聘
科目:收发员兼通信员 (军队文职)(在线考试)
问题:
A:front=front+1
B:front=(front+1)%m
C:front=(front+1)%(m+1)
D:rear=(rear+1)%m
答案:
解析:
相关标签:
以数组Data[m+1]作为循环队列SQ的存储空间,front为头指针,rear为队尾指针,则执行出队操作的语句是()。
VIP会员可以免费下载题库
推荐度:
![](https://www.ytiku.com/skin/tiku/images/icon_star.png)
![](https://www.ytiku.com/skin/tiku/images/icon_star.png)
![](https://www.ytiku.com/skin/tiku/images/icon_star.png)
![](https://www.ytiku.com/skin/tiku/images/icon_star.png)
![](https://www.ytiku.com/skin/tiku/images/icon_star.png)
点击下载文档文档为doc格式