a) q = NULL; p->next = head; head = p;
b) q->next = NULL; head = p; p->next = head;
c) head = p; p->next = q; q->next = NULL;
d) q->next = NULL; p->next = head; head = p;
The following C function takes a simply-linked list as an input argument. It modifies the list by moving the last elemen
-
answerhappygod
- Site Admin
- Posts: 899604
- Joined: Mon Aug 02, 2021 8:13 am
The following C function takes a simply-linked list as an input argument. It modifies the list by moving the last elemen
Join a community of subject matter experts. Register for FREE to view solutions, replies, and use search function. Request answer by replying!