Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- typedef struct no_pilha{
- struct no_pilha* prox;
- int dado;
- int topo;
- }t_pilha;
- t_pilha* aloca_pilha(){
- t_pilha* ptr = (t_pilha *) malloc(sizeof(t_pilha));
- ptr->topo = NULL;
- return ptr;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement