Enter the program in Listing 9.1.3 and use gdb to make sure it works. Next, change the program so that it returns a non-zero integer. Run it with gdb. What number base does gdb use to display the exit code?Hint
See Table 2.1.3.Solution
The exit code is displayed in octal.