/* Dereferencing pointer variables */
main()
{
i=67;
f=89.7;
*iptr=&i;
*fptr=&f;
printf("value of iptr=Address of i=%p \n",iptr);
printf("value of fptr=Address of f=%p \n",fptr);
printf("Address of fptr=%p \n", &fptr);
printf("Address of iptr=%p \n", &iptr);
printf("value of i=%d %d %d \n",i,*iptr,*(&i));
printf("value of f=%d %d %d\n",f,*fptr,*(&f));
0;
}
|