+1 stack size

This commit is contained in:
Valér Jakubčo 2021-10-22 00:47:06 +02:00
parent d7b167d7be
commit 0361617c0f

View File

@ -27,7 +27,7 @@ int main(){
struct stack myStack;
memset(&myStack,0,sizeof(struct stack));
while(1){
if(myStack.size == 9){
if(myStack.size == 10){
//print_stack(&myStack);
puts("full stack");
break;