A. a,b,c,d B. d,c,b,a C. a,c,b,d D. d,a,c,b
A. sq.front=(sq.front+1)%maxsize; x=sq.data[sq.front]; B. sq.front=sq.front+1;x=sq.data[sq.front]; C. sq.rear=(sq.rear+1)%maxsize;x=sq.data[sq.front]; D. sq.rear=sq.rear+1;sq.data[sq.front]=x;
A. x=sq.data[sq.rear+1] B. x=sq.data[sq.front+1] C. x=sq.data[(sq.rear+1)%maxsize] D. x=sq.data[(sq.front+1)%maxsize]
A. front->next=front->next->next B. rear=rear->next; C. front->next=rear;rear=rear->next D. front=front->next;front->next=rear
A. 插入操作更方便 B. 通常不会出现栈满的现象 C. 不会出现栈空的情况 D. 删除操作更加方便
A. 54321 B. 12345 C. 14325 D. 32415