单项选择题

设一条单链表的头指针变量为head且该链表没有头结点,则其判空条件是( )。
A、head==0
B、head->;next==0
C、head->;next==head
D、head!=0

题目列表

你可能感兴趣的试题

微信扫码免费搜题