Question: PLEASE USE C++ PROGRAMMING create a program that : creates and initializes 3 integer values. creates and initializes an integer pointer prints out: the value
PLEASE USE C++ PROGRAMMING
create a program that :
creates and initializes 3 integer values.
creates and initializes an integer pointer
prints out: the value of the integer value, the value of its address, the value of the pointer and the value the pointer points at.
Change the integer value using the pointer.
print it all out again.
repeat for the other two integers.
Your result should look something like the picture:

C: users ct-d121aldocumentsAvisual studio 2013 Value1 3 address of value1 005 3FCOC value of pointer 005 3FCOC value where pointer is looking 3 value1: 9 address of value1 005 3FCOC value of pointer 005 3FCOC value where pointer is looking 9 value 10 address of value2 0053FC00 value of pointer 005 3FCOO value where pointer is looking: 10 value 30 address of value2 0053FC00 value of pointer 005 3FCOO value where pointer is looking: 30 value3: 31 address of value3 005 3FBF4 value of pointer 005 3FBF4 value where pointer is looking 31 value 93 address of value3 005 3FBF4 value of pointer 005 3FBF4 value where pointer is looking 93 Press any key to continue
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
