core dump
When a program has a run-time error it generates a file named core
The core file stores a copy of the memory at the point when the program exits due to error
note: core files are usually quite large so it’s a good idea to delete them afterwards
Using the proper commands of gdb will help you track down where the program had a run-time error