Update cv3/program.c

This commit is contained in:
Yurii Chechur 2024-10-14 11:11:21 +00:00
parent 79ae837cbe
commit d55fc0686d

View File

@ -19,7 +19,7 @@ void push_stack(struct stack *s, float value) {
s->size++; s->size++;
} else { } else {
printf("full stack\n"); printf("full stack\n");
exit(1); // Exit the program on overflow exit(0); // Exit the program on overflow
} }
} }