 |
Stack in C : Stack « Data Structure Algorithm « C / ANSI-C
Stack in C : Stack « Data Structure Algorithm « C / ANSI-C ... #include #include #define SIZE 50 void push(int i); int pop(void); int *tos, *p1, stack[SIZE]; int main(void) { int value; tos = stack; /* tos points to the top of stack */ p1 = stack; /* in
www.java2s.com |
 |