16 lines
237 B
C

#ifndef EXAMPLE01B_STACK01B_H
#define EXAMPLE01B_STACK01B_H
#define SIZE 50
#define EMPTY (-1)
static int arr[SIZE];
static int top = EMPTY;
void push(int n);
int pop();
int isEmpty();
#endif //EXAMPLE01B_STACK01B_H