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]); }

14th May 2018, 4:43 PM
Suraj Jethwa
Suraj Jethwa - avatar
1 Odpowiedź
0
The output is 0000ac40 You do realize you can test the code in the code playground?
14th May 2018, 5:14 PM
ReimarPB
ReimarPB - avatar