Question: 2. Assume the node is in the usual info-link form with the info of type int. (list and ptr are pointers of type nodeType) list
2. Assume the node is in the usual info-link form with the info of type int. (list and ptr are pointers of type nodeType) list = new nodeType; list->info = 10; ptr = new nodeType; ptr->info - 13; ptr->link - NULL; list->link - ptr; ptr - new nodeType; ptr->info - 18; ptr->link = list->link; list->link = ptr; cout info info link; cout info
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
