I'm reading "Teach Yourself C++ in 21 Days" by Jesse Liberty, 3rd ed.
In a few code samples, but specifically listing 9.8, some function prototypes are defined as follows:
short Factor(int n, int* pSquared, int* pCubed);
What is the difference, if any, between that and this:
short Factor(int n, int *pSquared, int *pCubed);
It doesn't explain the difference if there is any, but I suspect it is a typographical error.
Would anyone care to share some insight?
Thanks!