+1 stack size
This commit is contained in:
parent
d7b167d7be
commit
0361617c0f
@ -27,7 +27,7 @@ int main(){
|
|||||||
struct stack myStack;
|
struct stack myStack;
|
||||||
memset(&myStack,0,sizeof(struct stack));
|
memset(&myStack,0,sizeof(struct stack));
|
||||||
while(1){
|
while(1){
|
||||||
if(myStack.size == 9){
|
if(myStack.size == 10){
|
||||||
//print_stack(&myStack);
|
//print_stack(&myStack);
|
||||||
puts("full stack");
|
puts("full stack");
|
||||||
break;
|
break;
|
||||||
|
Loading…
Reference in New Issue
Block a user