A float occupies 4 bytes. If the hexadecimal equivalent of these 4 bytes are A, B, C and D, then when this float is stored in memory in which of the following order do these bytes gets stored ?
A. ABCD
B. DCBA
C. 0 * ABCD
D. Depends on big endian or little endian architecture
Answer:A
A float occupies 4 bytes. If the hexadecimal equivalent of these 4 bytes are A, B, C and D, then when this float is stored in memory in which of the following order do these bytes gets stored ?
A. ABCD B. DCBA C. 0 * ABCD D. Depends on big endian or little endian architecture