單項選擇題

設帶有頭結點的單向循環(huán)鏈表的頭指針變量為head,則其判空條件是()

A.head==0
B.head->next==0
C.head->next==head
D.head!=0

微信掃碼免費搜題