This commit is contained in:
Deinerovych 2024-10-16 22:49:15 +02:00
parent c3c3b12639
commit 95ccfaedf5

View File

@ -43,7 +43,7 @@ void push(float number) {
if (stack_top < STACK_SIZE - 1) { if (stack_top < STACK_SIZE - 1) {
stack[++stack_top] = number; stack[++stack_top] = number;
} else { } else {
printf("stack overflow\n"); printf("full stack\n");
exit(0); exit(0);
} }
} }