首页 > 题库 > 自考本科 > 单选题

设数组data[m]作为循环队列SQ的存储空间,front为队头指针,rear为队尾指针,则执行出队操作后其头指针front值为

问题1选项
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
参考答案: 查看答案 查看解析 下载APP畅快刷题

相关知识点试题

相关试卷