顺序队列的人队列操作应为()
A.SQ.data[SQ.rear]=x;SQ.rear=SQ.rear+l; B.SQ.rear=(SQ.rear+1)%maxsize;SQ.data[SQ.rear]=x; C.SQ.rear=SQ.rear+l;SQ.data[SQ.rear]=x; D.SQ.data[SQ。rear]=x;SQ.rear=(SQ.rear+1)%maxsize;正确答案C
顺序队列的人队列操作应为()
A.SQ.data[SQ.rear]=x;SQ.rear=SQ.rear+l; B.SQ.rear=(SQ.rear+1)%maxsize;SQ.data[SQ.rear]=x; C.SQ.rear=SQ.rear+l;SQ.data[SQ.rear]=x; D.SQ.data[SQ。rear]=x;SQ.rear=(SQ.rear+1)%maxsize;正确答案C