CarlosWGama

Estrutura Inicial - Pilha

Apr 2nd, 2019
145
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include <stdio.h>
  2. #include <stdlib.h>
  3.  
  4. struct no {
  5.     int valor;
  6.     struct no *proximo;
  7. };
  8.  
  9. struct pilha {
  10.     struct no *topo;
  11. };
  12.  
  13. void push(struct pilha *p, int valor) {
  14. }
  15.  
  16. int pop(struct pilha *p) {
  17. }
  18.  
  19. int main() {
  20.     return 0;
  21. }
RAW Paste Data