不带头结点的单链表head为空的判定条件为( )
A: head->next==NULL
B: head!=NULL
C: head==NULL
D: head->next=head
A: head->next==NULL
B: head!=NULL
C: head==NULL
D: head->next=head
C
举一反三
- 带头结点的单链表Head为空的判定条件是( ) A: Head=NUll B: Head->next=NULL C: Head->next=Head D: Head->next!=NULL
- 带头结点的单链表为空的判定条件是( ) A: head->next == NULL B: head->next == head C: head == NULL D: head != NULL
- 带头结点的单链表为空的判定条件是( ) A: head->next == NULL B: head->next == head C: head == NULL D: head != NULL
- 带头结点的单链表为空的判定条件是( ) A: head->next == NULL B: head->next == head C: head == NULL D: head != NULL
- 不带头结点的单链表为空的判定条件是 ( )。 A: head==NULL B: head->next==NULL C: head->next==head D: head!=NULL
内容
- 0
不带头结点的单链表为空的判定条件是 ( )。 A: head==NULL B: head->next==NULL C: head->next==head D: head!=NULL
- 1
不带头结点的单链表为空的判定条件是 ( )。 A: head==NULL B: head->next==NULL C: head->next==head D: head!=NULL
- 2
不带头结点的单链表(头指针为head)为空的判定条件是( )。 A: head==NULL B: head->next==NULL C: head->next==head D: head!=NULL
- 3
带头结点的单链表head为空的判定条件是( )。 A: head->next->next==NULL B: head->next==NULL C: head->next=NULL D: head==NULL
- 4
对于一个头指针为head的带头(哨兵)结点的单链表,判定其后链表为空的条件是______。? head->next==head|head!=NULL|;head->next==NULL|head==NULL