带头结点的链表为空的判断条件是()(设头指针为head)。
A、head->next==head
B、head->next==NULL
C、head!=NULL
D、head ==NULL
A、head->next==head
B、head->next==NULL
C、head!=NULL
D、head ==NULL
若不带头结点的单链表中,头指针为head,则该链表为空的判定条件是(25)。
A.head==NULL
B.head->next==NULL
C.head!=NULL
D.head->next==head
带头结点的单链表head为空的判断条件是__________。
A.head=NULL
B.head一>next=NULL
C.head一>next=head
D.head!=NULL
带头结点的单链表head为空的判断条件是(43)。
A.head=NULL
B.head->next=NULL
C.head->next=head
D.head<>NULL
A.head==NULL
B.head->next==NULL
C.head->next=NULL:
D.head->next!=NULL
设一条单链表的头指针变量为head且该链表没有头结点,则其判空条件是()。
A.head==0
B.head->next==0
C.head->next==head
D.head!=0
设带有头结点的单向循环链表的头指针变量为head,则其判空条件是()。
A.head==0
B.head->next==0
C.head->next==head
D.head!=0
A、head==NULL
B、head->next=NULL
C、head->next==head
D、head!=NULL
带头结点的双向循环链表L为空的条件是()。
A.L==NULL
B.L->next==NULL
C.L->prior==NULL
D.L->next==L
在带头结点的单链表head为空的判定条件是()。
A.head=NULL
B.head->next=NULL
C.head->next=head
D.head!=NULL
设rear是指向非空带头结点的循环单链表的尾指针,则删除链表第一个结点的操作可表示为(22)。
A.p=rear;rear=rear→next;free(p);
B.rear=rear→next;free(p);
C.rear=rear→next→next;free(p);
D.p=rear→next→next;rear→next=p→next;free(p);