Question: (a) Write a C++ function that will create a singly linked list composed of the printable ASCII characters and the associated integer values. This list
struct pnode
{char asciich;
int asciival;
pnode * link;
};
(b) Write a C ++ function that will destroy a singly linked list pointed to by Head. Print the content of each node before it is destroyed. Use the struct definition that appears above.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
