Question: To check if the linked list is empty Select one: O a. If(empty0) O b. if(head==empty0) O c. if(head.empty0) O d. if(head==0)

To check if the linked list is empty Select one: O a.  

To check if the linked list is empty Select one: O a. If(empty0) O b. if(head==empty0) O c. if(head.empty0) O d. if(head==0)

Step by Step Solution

3.44 Rating (160 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

Option d is correct If link does not point to a node ... View full answer

blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!