https://github.com/zedshaw/learn-c-the-hard-way-lectures GDB gdb --batch --ex run --ex bt --ex q --args ./ex3 Solutions: https://github.com/preslavmihaylov/learn-c-the-hard-way/blob/master/29.LibrariesAndLinking/c-skeleton/tests/libex29_tests.c