What is the difference in this example of Dereferencing pointers?

前端 未结 0 477
感动是毒
感动是毒 2020-12-02 05:10

So my class has two examples, and not sure why one works and the other doesn\'t.

int numSides = 3;
int *valPointer = &numSides;
PrintValue(valPointer);


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