Advertisement
CarlosWGama

Estrutura Inicial - Pilha

Apr 2nd, 2019
228
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.25 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement