Hello folks, here is my code with question in it.
#include<stdio.h>
int main(){
float c=10.0001;
char *p;
p=(char *)&c; // Casting is correctly done. What exactly is purpose of (char *) ?
printf("%f", *p);
getch();
return 0;
}
OUTPUT: