题目内容
(请给出正确答案)
[单选题]
设有头指针为head的带有头结点的非空单向循环链表,指针p指向其尾结点,要删除头结点,并使其仍为单向循环链表,则可利用下述语句head =head->next ;()
A.p=head
B.p=NULL
C.p->next=head
D.head=p
如搜索结果不匹配,请 联系老师 获取答案
A.p=head
B.p=NULL
C.p->next=head
D.head=p
第2题
带头结点的单向链表的头指针为head,该链表为空的判定条件是()的值为真。
A.head==NULL
B.head.getNext()==head
C.head.getNext()==NULL
D.head==head.getNext()
第3题
A.rear.setNext(p);rear=p
B.rear.setNext(p);p=rear
C.p=rear.getNext();rear=p
D.rear=p;rear.setNext(p)
第4题
A.p->next=h,h->next=p;
B.p->next=h->next,h->next=p;
C.p->next=h,h=p;
D.h->next=p,p->next=h->next;
第7题
A.head=NULL
B.head->next=NULL
C.head!=NULL
D.head->next!=head
第9题
A.head= =NULL
B.head->next= =NULL
C.head->next= =head
D.head!=NULL
第10题
A.head==NULL
B.head->next=NULL
C.head->next=head
D.head!=NULL
为了保护您的账号安全,请在“上学吧”公众号进行验证,点击“官网服务”-“账号验证”后输入验证码“”完成验证,验证成功后方可继续查看答案!