Output for main
Address Name Value
---------------------------
A1 i 95
A2 j -16
A3 ptr_2_i A1
A4 prt_2_ptr_2_i A3
Values are
i = 95
j = -16
ptr_2_i = A1
ptr_2_ptr_2_i A3
*ptr_2_i = 95 (what is stored in location A1) (dereference value of ptr_2_i)
*ptr_2_ptr_2_i = A1 (what is stored in location A3)(dereference value of
ptr_2_ptr_2_i)
**ptr_2_ptr_2_i = 95 (what is stored in the location A1) (dereference value
of ptr_2_ptr_2_i TWICE)
=================================================================
After call to f3() value of ptr_2_i has changed
Address Name Value
---------------------------
A1 i 95
A2 j -16
A3 ptr_2_i A2
A4 prt_2_ptr_2_i A3
Values are
i = 95
j = -16
ptr_2_i = A2
ptr_2_ptr_2_i A3
*ptr_2_i = -16 (what is stored in location A2) (dereference value of ptr_2_i)
*ptr_2_ptr_2_i = A2 (what is stored in location A3)(dereference value of
ptr_2_ptr_2_i)
**ptr_2_ptr_2_i = -16 (what is stored in the location A2) (dereference value
of ptr_2_ptr_2_i TWICE)