單項選擇題

非空單鏈表結點結構為[data,next],若指針p所指結點是尾結點,則()表達式為真。

A.p=NULL
B.p->next=NULL
C.p->next=P
D.p->next!=NULL

微信掃碼免費搜題