STACKS -USING A LINKED LIST

The stack operations are push and pop
These operations on linked list are "ADD IN THE BEGINNING",and "DELETE IN THE BEGINNING"
THE OPERATIONS ARE PUSH AND POP
PUSH OPERATION:
The operation here is push so we insert new node at the beginning of the linked list
It looks like


POP OFFICE
The pop operation is to move the head to next position

HOPE THIS HELPS.....................
HAPPY CODING.................