diff options
Diffstat (limited to 'inc/stack.h')
-rw-r--r-- | inc/stack.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/inc/stack.h b/inc/stack.h index 60d41b8..fcc976a 100644 --- a/inc/stack.h +++ b/inc/stack.h @@ -1,6 +1,13 @@ #ifndef __STACK_H__ #define __STACK_H__ +#define STACK_SIZE 100 + +struct stack_st { + int len; + int arr[STACK_SIZE]; +}; + void stackPush(int val); int stackPop(void); int stackIsEmpty(void); |