fengfei0210 发表于 2008-5-14 14:51

判断队列是否为空?

A) int IsEmpty(queue q){ return q->size==NULL;}
B) int IsEmpty(queue q){ return q->size==q;}
C) int IsEmpty(queue q){ return q->size==1;}
D) None of the options
哪一个能实现?

cobby 发表于 2008-5-14 17:41

C...

lili123 发表于 2008-5-24 22:39

不是这样判断队列的 没有答案

页: [1]

编程论坛