InterviewSolution
Saved Bookmarks
| 1. |
If we compile the sam.c file with the command “gcc -o sam sam.c”, then the executable file will be?(a) a.out(b) sam(c) sam.out(d) None of the mentionedThe question was posed to me during an internship interview.My question comes from Cross Compiler in section Compiler Introduction of Compiler |
|
Answer» CORRECT option is (b) sam For EXPLANATION: This is how the GCC is designed to TAKE names of executable FILES. |
|