1. Which one of the following command creates the executable file a.out?
Correct Answer is : gcc sanfoundry.c
2. If we compile the sanfoudry.c file with the command “gcc -o sanfoundry sanfoundry.c”, then the executable file will be
Correct Answer is : sanfoundry
3. If we compile the sanfoundry.c file with the command “gcc -c sanfoundry.c”, then the output file will be
Correct Answer is : sanfoundry.o
4. Which gcc option includes debugging info in the generated object code?
5. The command “gcc -S sanfoundry.c” will
Correct Answer is : stop compilation process after the generation of assembly code file & generate sanfoundry.s file