The compilation process in C: what happens when you type gcc main.c? Every time, after you are done programming something in C, you save your file with a .c extension, then, in order to have an expected output, you need to compile your file using gcc, what happens in the meantime is not simple, a process occurs there, this is know as…