#include "stack3.h" #include struct _stack { void *element; stack next; }; void stack_push(stack& s, void *element) { stack temp = (stack) malloc(sizeof(struct _stack)); temp -> element = element; temp -> next = s; s = temp; }