Creation of the main function of the linked list

  ampersand, c++, constructor, linked-list, main

In the main function, we have the second line Node *head=&n1;
So my question is, the head of a node is for data, not for address, so why is address stored in head of n1 node?

Source: Windows Questions C++

LEAVE A COMMENT