Question: Can anyone help me to solve this? It's a C++ data structures course. (a) Answer questions below about the C++ code in lines 1-12, giving
Can anyone help me to solve this?
It's a C++ data structures course.

(a) Answer questions below about the C++ code in lines 1-12, giving the required value or data type, or else stating the error, if any. struct Node { int info: Node* next: }: Node* n1 = new Node: Node* n2 = new Node: Node* n3 = new Node: n1 rightarrow info = 33: n1 rightarrow next = n2: n2 rightarrow info = 22: n2 rightarrow next = n3: n3 rightarrow info = 11: n3 rightarrow next = NULL: a) What is the value of n1 rightarrow next rightarrow info? b) What is the value of n2 rightarrow next rightarrow next rightarrow info? c) What is the data type of *(n1 rightarrow next rightarrow next)? d) What is the data type of *n3.next? (b) Suppose we want to delete the linked structure starting at node n1. Indicate what exactly is wrong with the code below and fix the
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
