Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

6
  • So where is the value of that address, which is passed on to the method, stored? Commented Aug 29, 2014 at 4:24
  • It is calculated at runtime, just like any other address. Are you familiar with the & operator? Commented Aug 29, 2014 at 4:26
  • Yes, I am. I know it's calculated at runtime, but where is it stored? Commented Aug 29, 2014 at 4:27
  • To put it more simply, suppose this happens to have a value of 0x28ac67. Where is that value stored in your program? Commented Aug 29, 2014 at 4:29
  • 2
    It is not stored in the program (which is a static thing, e.g. an ELF executable file on Linux) but it appears -in a register of the processor- dynamically at execution time. Commented Aug 29, 2014 at 4:52