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

@@ -85,6 +85,11 @@ void TestQueue(){
} else{
printf("获取队头元素失败!");
}
if(QueueEmpty(Q)){
printf("队空啦\n");
} else{
printf("队非空\n");
}
printf("结束测试!\n");
}