The floating point number 100.0 is represented as 0x42C80000 in memory, which in decimal is 1120403456. You’re printing out the 32-bit integer representation of 100.0.
4
solved why float type pointer addressing int showing unknown numbers?
The floating point number 100.0 is represented as 0x42C80000 in memory, which in decimal is 1120403456. You’re printing out the 32-bit integer representation of 100.0.
4
solved why float type pointer addressing int showing unknown numbers?