Advertisement
Gabriel_Rofl

mainTest.c

Oct 23rd, 2017
86
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.26 KB | None | 0 0
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3. #include "test.h"
  4.  
  5. int main()
  6. {
  7.     t_pilha* pilha = aloca_pilha();
  8.  
  9.     push(pilha,10);
  10.     push(pilha,20);
  11.     push(pilha,30);
  12.     push(pilha,40);
  13.     print_pilha(pilha);
  14.     libera_pilha(pilha);
  15.     print_pilha(pilha);
  16.     return 0;
  17. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement