返回主页
学习人数: 968
stroke-dashoffset="61*2.6389" stroke-linecap="round" transform="rotate(-90 50 50)"/>
正确率: 61%
未通过

设数组Data[0..m]作为循环队列SQ的存储空间,front为队头指针,rear为队尾指针,则执行出队操作的语句为(  )。
A、front=front+1
B、front=(front+1)% m
C、rear=(rear+1)%m
D、front=(front+1)%(m+1)

上面问题的答案是:
A A 选项
B B 选项
C C 选项
D D 选项
回答区域

登录后提交答案


2 个回答 (点击展开回答)