赞
踩
栈空:top==-1
top==-1
栈满:top==maxsize-1
top==maxsize-1
栈空:s->next==NULL
s->next==NULL
栈满:不存在
不存在
队空:p->front==p->rear
p->front==p->rear
队满:(p->rear+1)%maxsize==p->front
(p->rear+1)%maxsize==p->front
队空:q->rear==NULL
q->rear==NULL
队满:不存在