1. The execution of the program in GDB can be affected by a) argumentsb) working directoryc) environmentd) all of the mentioned View Answer Answer: D Explanation: None 2. While debugging with GDB,…
Day: May 16, 2024
GDB Debugger : Linux TOP MCQs With Answers
1. Which one of the following is not true about GDB? a) quit command is used to exit the GDBb) kill command is used to stop execution in GDBc) if the execution…
GDB 1 : Linux TOP MCQs With Answers
1. Which GDB command prints the value of a variable in hex. a) print/xb) print/hc) print/ed) none of the mentioned View Answer Answer: A Explanation: None 2. Which GDB command interrupts the…
GDB : Linux TOP MCQs With Answers
1. For debugging with GDB, the file “sanfoundry” can be created with the command a) gcc -g -o sanfoundry sanfoundry.cb) gcc -g sanfoundry.cc) gdb sanfoundryd) none of the mentioned View Answer Answer:…
Shared Libraries : Linux TOP MCQs With Answers
1. In linux shared libraries has the extension of a) .sob) .sic) .sld) none of the mentioned View Answer Answer: A Explanation: None 2. When a program is linked with a shared…
Static Libraries : Linux TOP MCQs With Answers
1. In Linux, the static library has the extension of a) .ab) .bc) .cd) .d View Answer Answer: A Explanation: None 2. The library contains the a) pre-compiled object filesb) source filesc)…
various stages of compilation for gcc compiler 2 : Linux TOP MCQs With Answers
1. The a.out file is in the a) ELF formatb) EXE formatc) Both EXE and ELF formatd) None of the mentioned View Answer Answer: A Explanation: None 2. Which one of the…
various stages of compilation for gcc compiler : Linux TOP MCQs With Answers
1. The correct sequence of GCC compilation process is a) preprocessing -> compilation -> assemble -> linkingb) assemble -> preprocessing -> compilation -> linkingc) preprocessing -> assemble -> compilation -> linkingd) none…