Question: Suppose that f is a function with a prototype like this: void fl head _ ptr ) ; #l Precondition: head ptr is a head

Suppose that f is a function with a prototype like this:
void fl
head_ptr);
#l Precondition: head ptr is a head pointer for a linked list.
I Postcondition: The function f has done some manipulation of
I the linked list, and the list might now have a new head node.
What is the best data type for head, otr in this function? c++

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock 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 Databases Questions!