Floating Point Issues on C related Questions and Answers


Question :   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?
1. ABCD
2. DCBA
3. 0xABCD
4. Depends on big endian or little endian architecture
Answer :   4 - Depends on big endian or little endian architecture  

* Be the First to Post a Comment.

Submit comment :


Captcha Image
Reload

Ask Question

Captcha Image
Reload

Note : Name and Email never shown.





Subscribe


Become a part of EducationForever. Subscribe to our FREE Newsletter