For debugging with GDB, the file “sanfoundry” can be created with the command
A. gcc -g -o sanfoundry sanfoundry.c
B. gcc -g sanfoundry.c
C. gdb sanfoundry
D. none of the mentioned
Answer:A
For debugging with GDB, the file “sanfoundry” can be created with the command
A. gcc -g -o sanfoundry sanfoundry.c B. gcc -g sanfoundry.c C. gdb sanfoundry D. none of the mentioned
Explanation:None.