cout << endl
<< "incr10(pnum) = " << incr10(pnum);
As I understood, to start the output, the 'cout' needs the return of the function incr10(pnum), because the return of the function has to become immediately after the string "incr10(pnum) =".
So, first of all, the 'cout' calls the function. The function is starting and outputs first of all :
cout << endl
<< "Address received = " << num;
and only after getting the return from the function, the 'cout' will start the output...
I hope I answered a little bit your question...
rgds,
Marc
|