struct Node { int data; Node* next; }; Node* head = NULL; // Add nodes to the linked list Node* newNode = new Node; newNode->data = 5; newNode->next = head; head = newNode; Node* nextNode = head->next;In this example, we define a Node struct with a data integer and a next Node pointer. We create a linked list by adding nodes to it. To access the next node, we simply use the "->next" notation on the current node. The package/library used in this example is the C++ standard library.