单选题

循环队列的队头和队尾指针分别为front和rear,则判断循环队列为空的条件是()。

Afront==rear

Bfront==0

Crear==0

Dfront=rear+1

正确答案

来源:www.examk.com

答案解析