顺序栈
栈空:top==-1
栈满:top==maxsize-1
链栈
栈空:s->next==NULL
栈满:不存在
环形队列
队空:p->front==p->rear
队满:(p->rear+1)%maxsize==p->front
链队
队空:q->rear==NULL
队满:不存在
栈空:top==-1
栈满:top==maxsize-1
栈空:s->next==NULL
栈满:不存在
队空:p->front==p->rear
队满:(p->rear+1)%maxsize==p->front
队空:q->rear==NULL
队满:不存在