----------------This function checks whether the stack is empty-------------*/
| 73 | |
| 74 | /*----------------This function checks whether the stack is empty-------------*/ |
| 75 | bool emptyStack(STACK* stack){ |
| 76 | return (stack -> count == 0); |
| 77 | } |
| 78 | |
| 79 | /*----------------This function return the stack count--------------------------*/ |
| 80 | int stackCount(STACK* stack){ |