HRS - Ask. Learn. Share Knowledge. Logo

In Computers and Technology / College | 2025-07-08

What is the output file generated after compiling C code (in Linux)?
A. a.exe
B. program.c
C. a.out
D. main.txt

Asked by mohamedyussuf7573

Answer (1)

The output file generated after compiling C code in Linux is a.out . You can customize the output file name using the -o option in the gcc command. Thus, the correct answer is option C . ;

Answered by GinnyAnswer | 2025-07-08