带头结点的单链表head为空的判断条件是()。
A:head=NULL B:head->next=NULL C:head->next=head D:head<>NULL
带头结点的单链表head为空的判断条件是______。
A:head=NIL B:head->next=NIL C:head->next=head D:head<>NIL
带头结点的单链表head为空的判断条件是 (34) 。
A:head=NULL B:head->next=NULL C:head->next=head D:head!=NULL
不带头结点的单链表head为空的判定条件是
A:head=NULL B:head→next=NULL C:head→next=head D:head!=NULL
设单链表表头指针为head,现将指针p指向的节点插入表中,使之成为第一个节点,其操作是______。其中p^.next、head^.next分别表示p、head所指节点的链域。
A:p^.next:=head*.next;head^.next:=p B:p^.next:=head^.next;head:=p C:p*.next:=head;head:=p D:head*.next:=head; p:=head
设单链表表头指针为head,现将指针P指向的结点插入表中,使之成为第一个结点,其操作是 ______。其中p^. next、head^.next分别表示p、head所指结点的链域。
A:p^. next:=head^. next;head^. next:=p B:p^. next:=head^. next;head:=p C:p^. next:=head;head:=p D:head^. next:=head;p:=head
不带头结点的单链表head为空的判定条件是
A:head=NULL B:head→next=NULL C:head→next=head D:head!=NULL