Question: There is a typo in the code, can you help finding and fixing it ? ` ` ` / * Fig. 7 . 4 :
There is a typo in the code, can you help finding and fixing it
Fig. : figc
Using the & and operators
#include
int main void
int a; a is an integer
int aPtr; aPtr is a pointer to an integer
a ;
aPtr &a; aPtr set to address of a
printf "The address of a is p
The value of aPtr is p &a aPtr, ;
printf
The value of a is d
The value of aPtr is d aaPtr ;
printf
Showing that and & are complements of
"each other
&aPtr p
&aPtr p
&aPtr&aPtr ;
return ; indicates successful termination
end main
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
