Question: Complete the main function to do the following: / / Declare an integer pointer aPtr and initialize it to the address of a / /
Complete the main function to do the following:
Declare an integer pointer aPtr and initialize it to the address of a
Print the address of a using the address operator &
yPrint the value of aPtr
Print the value of a using the variable name
Isprint the value of a using the indirection operator
The output should look like this:
The address of a is xffeebc
The value of ar is Ifeebc
The value of a is
The value of thapth its
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
