Question: struct LNode 5 int data; LNode* next; struct LList i LNode* head; int main) I struct LList* list; struct LNode * a, * b, *


struct LNode 5 int data; LNode* next; struct LList i LNode* head; int main) I struct LList* list; struct LNode * a, * b, * c; list NULL; a NULL; b-NULL; c= NULL; list - malloc(sizeof(struct LList)); a = malloc(sizeof(struct LNode)); b = malloc(sizeof(struct LNode)); c = malloc(sizeof(struct LNode)); list-head-a; a->data = 45 ; a->next = b; b->data 89 ; b->next = c; c->data - 52; c->next NULL
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
