Consider the following declarations (that are used in order to process singly-linked lists as explained in this section):
class Node
{
public:
int data;
Node * next;
};
Node *p1, *p2, *p3;
Let that the following given statements have been executed:
p1 = new(nothrow) Node;
p2 = new(nothrow) Node;
p3 = new(nothrow) Node;
Explain what will be displayed by each of following code segments or discuss why an error occurs.