【单项选择题】
若循环队列有 n个顺序存储单元,front、rear分别为队首和队尾元素的下标,front指向队首元素之前的一个位置,为则判断队空的条件是()。
A、A. front = =rear
B、B. (front-1)%n= =rear
C、C. (rear+1)%n= =front
D、D. (rear-1)%n= = front
A、A. front = =rear
B、B. (front-1)%n= =rear
C、C. (rear+1)%n= =front
D、D. (rear-1)%n= = front
A、  front = =rear B、 (front-1)%n= =rear C、 (rear+1)%n= =front D、 (rear-1)%n= = front