/* exitstatus.c Jeff Ondich, 20 Feb 2026 Playing with a program's exit status. Try running the program and then, once it's done, execute this command: echo $? to see the exit status of this program. (You can do echo $? anytime to see the exit status of the previous program.) */ #include #include #include int main(int argc, char *argv[]) { if (argc != 3) { fprintf(stderr, "Usage: %s string1 string2\n", argv[0]); //return -1; exit(8); } int comparison = strcmp(argv[1], argv[2]); return comparison; }