if my C program doesn't print out anything, it just returns a value, how can I use gcc to check what value my program returns? For example,
gcc test.c
after this I get a a.out, however, if I type "a", nothing will show since my test.c doesn't print anything it just return a value, so how can I check what value my test.c returns?