设有一循环队列CQ,队列的长度为maxsize,则该循环队列满的条件为
A.(CQ. rear+l)%maxsize= =CQ. front B.CQ. rear== CQ. front C.(CQ. rear+l)%maxsize= CQ. rear D.CQ. rear == NULL正确答案A
设有一循环队列CQ,队列的长度为maxsize,则该循环队列满的条件为
A.(CQ. rear+l)%maxsize= =CQ. front B.CQ. rear== CQ. front C.(CQ. rear+l)%maxsize= CQ. rear D.CQ. rear == NULL正确答案A