From 0361617c0f3de57d3cf10af726652976261ce0f5 Mon Sep 17 00:00:00 2001 From: vj586da Date: Fri, 22 Oct 2021 00:47:06 +0200 Subject: [PATCH] +1 stack size --- cv3/program.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cv3/program.c b/cv3/program.c index ecafa6e..5594b67 100644 --- a/cv3/program.c +++ b/cv3/program.c @@ -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;