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. 7.4: fig07_04.c
Using the & and * operators */
#include
int main( void )
{
int a; /* a is an integer */
int *aPtr; /* aPtr is a pointer to an integer */
a =7;
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", a,*aPtr );
printf("
Showing that * and & are complements of "
"each other
&*aPtr =%p"
"
*&aPtr =%p
", &*aPtr,*&aPtr );
22
23 return 0; /* indicates successful termination */
24
25}/* end main */
```
There is a typo in the code, can you help finding

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!