What would be the name of the file produced by the compiler of the program in c?

1 answer

Answer

1082654

2026-07-15 08:20

+ Follow

The file produced by the compiler of a C program typically has the extension .o for object files, which are intermediate files generated during the compilation process. If the program is compiled into an executable, the default name for the output file is usually a.out on Unix-like systems. However, you can specify a different name using the -o option during compilation. For example, gcc myprogram.c -o myprogram would produce an executable named myprogram.

ReportLike(0ShareFavorite

Copyright © 2026 eLLeNow.com All Rights Reserved.