insert node: void insertNodeAtTail(LIST*alist, int key) { //find the last node, return its pointer
last node; // create new node using the key; new node; new node->key = keyvalue; newnode->next=NULL;
lastnode->next=newnode; } list : Stack - LIFO
typedef struct stack; { int count; node * stacktop;
}Stack;
push pop create stack delete stack;