设指针变量head指向循环链表的头结点,next是结点的指针域,则判断此链表为空的条件是
A. head->next==NULL
B. head->next==head
C. head->next!=NULL
D. head->next!=head->next
正确答案是B
扫描二维码免费使用微信小程序搜题/刷题/查看解析。
版权声明:本文由翰林刷题小程序授权发布,如需转载请注明出处。
本文链接:https://doc.20230611.cn/post/431640.html
上一篇:目前在国际服务贸易中居于首位的是()
下一篇:Passage 7 Two people in a difficult situation, no food, cold and hunger; one of them, Bill, saw that his companion's foot was injured and ignored it. He ran for his own life. Another people, suffering from pain and hunger, was heading for their camp