5. The object code file generated by the assembler combined with functions from the standard library archive files by the linker to produce an executable file. By default, this executable file is named a.out. In this case, we have used the -o option to specify the name of the executable file as prog1.
Compiler is a software which converts a program written in high level language (Source Language) to low level language (Object/Target/Machine Language).
An important role of the compiler is to report any errors in the source program that it detects during the translation process.