write a program in C to create a linked list inserting 5 nodes,the addition should be done at the beginning of the node,then traverse it.
Answers
Answered by
1
// A linked list node
class Node
{
public:
int data;
Node *next;
};
// This code is contributed by Max
Similar questions