//DISPLAY 11.13 //Program to demonstrate the way call-by-value parameters //behave with pointer arguments. #include using namespace std; typedef int* IntPointer; void sneaky(IntPointer temp); int main( ) { IntPointer p; p = new int; *p = 77; cout << "Before call to function *p == " << *p << endl; sneaky(p); cout << "After call to function *p == " << *p << endl; return 0; } void sneaky(IntPointer temp) { *temp = 99; cout << "Inside function call *temp == " << *temp << endl; }