If char *name = “Emma”, why is &name not the same as &name[0]?

前端 未结 0 1902
南方客
南方客 2020-12-07 18:43

I\'ve been following CS50 and I\'m pretty sure I keep hearing that a pointer is just an address

And that the address of an array is just the address of the first item

相关标签:
回答
  • 消灭零回复
提交回复
热议问题