在线名词解释大全 - 单选 - 详细

设数组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)
正确答案:
相关推荐
扫描二维码
关注公众平台