Question: Pointers & Variables: create a regular integer variable and an integer pointer variable, then perform the following tasks: a. Assign the address of the regular

Pointers \& Variables: create a regular integer variable and an integer pointer variable, then perform the following tasks: a. Assign the address of the regular variable to the pointer. b. Store a value of 123 into the variable indirectly, by using the pointer with dereferencing. c. Print the address of the variable twice, first using the variable itself and then using the pointer. Print the addresses using the appropriate conversion character code. d. Print the data inside the variable twice, first using the variable itself and then using the pointer. Print the integer values using the appropriate conversion character code. e. Print the address of the pointer itself (not its stored value). Use the appropriate conversion code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
