#include using namespace std; void a(int *i_ptr) { *i_ptr = 12; } int main() { int i; int *i_ptr; i = 5; // Set the value of i i_ptr = &i; // Set i_ptr to be the address of i cout << "Before calling a(): i is: " << i << endl; a(i_ptr); cout << "After calling a(): i is: " << i << endl; return 0; }