Posts by user62683 • 3 points
1 post
-
0
votes1
answer3626
viewsQ: Invert stack values
I’m trying to reverse the order of the stack elements using the loop while, but I’m not getting it. pilha* inverte(pilha **p) { pilha *outra = cria(); //aloca e seta a qnt com 0 while(vazia(&p))…