I have this code below, it works, but it's strange, it does not print the last position.
#include <stdio.h>
#include <stdlib.h>
#define TAM_PILHA 2
#define NUM_ENTRA 5
void empilha(int *pilha, int *topo, int valor)
{
if (*topo &l...
asked by
14.03.2017 / 12:17