65.375;

  1. blackleopard92

    insane C program needing explanation

    does anybody have any idea what's going on here? #include <stdio.h> int main() { float a = 65.375; char *p; int i; p = (char*)&a; printf("%c\n",*p); for(i=0;i<=3;i++) printf("%02x",(unsigned char)p); printf("\n"); printf("\n"); return 0; }
Top Bottom