Friday, November 12, 2010

Pop - Algowiki

Pop - Algowiki: "void pop(struct Node **top){
if(*top == NULL)
printf('\nStack empty.');
else {
struct Node *temp;
temp = *top;
*top = (*top)->next;
free(temp);
}
}"