Question: Consider the following program: Hinclude sstdio.h> int main() f inta;int*aPtr;a=7; aPtr =&a; printf(%pln, aPtr); printf(%d , aPtr); printf(%p, &aPtr); return 0 ; 3 1: Run

Consider the following program: Hinclude sstdio.h> int main() f inta;int*aPtr;a=7; aPtr =&a; printf("\%pln", aPtr); printf("\%d ", "aPtr); printf("\%p", \&"aPtr); return 0 ; 3 1: Run the program and write down the obtained result. Can you understand the result for each output statement? 2: Modify the program to print the address of a without using a pointer. B: Consider the following program 1: Run the program and write down the obtained result. Try to understand how it w 2: Modify the program to count and display the number of characters in the string
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
