0
what is the output?
void main() { float a=5.375; char *p; int i; p=(char*)&a; for(i=0;i<=3;i++) printf("%02x",(unsigned char)p[i]); }
1 Resposta
0
The output is 0000ac40
You do realize you can test the code in the code playground?
void main() { float a=5.375; char *p; int i; p=(char*)&a; for(i=0;i<=3;i++) printf("%02x",(unsigned char)p[i]); }