Debugging Question:
Download Questions PDF

Which one of the following variables is used within GDB to hold on to a value and refer to it later?
a) convenience variables
b) environment variables
c) temporary variables
d) none of the mentioned

Linux Debugging Interview Question
Linux Debugging Interview Question

Answer:

a) convenience variables

Download Linux Debugging Interview Questions And Answers PDF

Previous QuestionNext Question
If we want to print the value of a variable in hexadecimal, we have to use "print" command with the option ___ in GDB.
a) x
b) h
c) hex
d) none of the mentioned
In GDB, we can refer to machine register contents, in expressions, as variables with names starting with:
a) $
b) #
c) !
d) none of the mentioned