Debugging Question:
Download Questions PDF

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

Linux Debugging Interview Question
Linux Debugging Interview Question

Answer:

a) x

Download Linux Debugging Interview Questions And Answers PDF

Previous QuestionNext Question
In GDB which one of the following allows us to specify a variable in terms of the file or function where it is defined?
a) ::
b) @
b) $
d) none of the mentioned
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