the most important change

This commit is contained in:
jacekpoz 2024-03-10 14:22:35 +01:00
parent 34c236ad86
commit ac1d9adc9c
Signed by: poz
SSH key fingerprint: SHA256:JyLeVWE4bF3tDnFeUpUaJsPsNlJyBldDGV/dIKSLyN8

View file

@ -42,7 +42,7 @@ void test_stack(size_t size) {
if (stack_push(s, &val)) { if (stack_push(s, &val)) {
printf("%zu: successfully pushed %ld on top of stack!\n", i, val); printf("%zu: successfully pushed %ld on top of stack!\n", i, val);
} else { } else {
printf("%zu: failed pushing %ld on top of stack :-(\n", i, val); printf("%zu: stack overflow exception lol !!! %ld\n", i, val);
} }
} }