C pointers and the physical address

前端 未结 11 747
傲寒
傲寒 2020-12-03 15:43

I\'m just starting C. I have read about pointers in various books/tutorials and I understand the basics. But one thing I haven\'t seen explained is what are the numbers.

11条回答
  •  有刺的猬
    2020-12-03 16:38

    It's a memory address, most likely to the current location in your program's stack. Contrary to David's comment, there are times when you'll calculate pointer offsets, but this is only if you have some kind of array that you are processing.

提交回复
热议问题