问题 单项选择题

假定一个链队的队首和队尾指针分别为front和rear,则判断队空的条件为______。

A.front=rear

B.front!=NULL

C.rear!=NULL

D.front=NULL

答案

参考答案:D

不定项选择题
单项选择题