Logo Studenta
¡Estudia con miles de materiales!

Vista previa del material en texto

#define SIZE_S 8
typedef int element;
typedef STACK{
	int top;
	element S[SIZE_S];
}stack;
//definicion de las funciones
void create (stack *st);
void push (stack *st, element e);
int is_empty ();
int is_full ();
element pop (stack *st);
void show (stack *st);
#include "Stack.c"