111. Difference between integer and float pointer.

#include<stdio.h>

int *ip;

float *fp,f = 23.5;

void main()

{

        fp=&f;

        ip=(int *)&f;

 

        printf("fp=%f ip=%d\n",*fp,*ip);

}

Comments