+ 1
Calling a function from a pointer? C++
I am completely stumped on this one... can anyone help and explain? Student st; Student *stPtr = st; stPtr (what goes here?) printAge();
4 Respostas
+ 2
->
+ 2
use arrow to access pointer props/methods
I am completely stumped on this one... can anyone help and explain? Student st; Student *stPtr = st; stPtr (what goes here?) printAge();