Question: ( gdb ) print buf ( gdb ) next * What is the address of buf ( the local variable in the main function )

(gdb) print buf
(gdb) next
* What is the address of buf (the local variable in the main function)?
* What is the address of ptrs (the global variable)?0x804a0d4(134521044)
* What is the address of pat_on_back (the function)? print pat_on_back: 0x8048559(134514009)
* What is the address of p (the local variable in the main function)? print p 0xbffff534(3221222708)

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!