Pointer holding a pointer in c++ (Derefrence)

前端 未结 0 1401
别跟我提以往
别跟我提以往 2021-01-24 10:29

I am quite confused on how this works:

int number = 10;
int* pointerOne = &number;
int* pointerTwo = pointerOne;

cout << *pointerTwo;

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