The Result : a.out
If there are no errors in pgm.c, this command produces an executable file, one that can be run or executed.
- Both the cc and the gcc compilers name the executable file a.out
- To execute the program, type a.out at the Unix prompt.
Although we call this “compiling a program”, what actually happens is more complicated.