Add SqQueue2

This commit is contained in:
Kim Yang
2020-08-02 22:29:40 +08:00
parent 13463c20f6
commit cac21ddd08
3 changed files with 23 additions and 9 deletions

View File

@@ -93,6 +93,11 @@ void TestQueue(){
} else{
printf("出队失败了,再检出一下吧!\n");
}
if(QueueEmpty(Q)){
printf("队空啦\n");
} else{
printf("队非空\n");
}
printf("结束测试!\n");