the most important change
This commit is contained in:
parent
34c236ad86
commit
ac1d9adc9c
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue