Hi all,

I have come across quite a few questions like
"
What is the way in which int m = 2 will be stored in memory?
2 0 0 0 or 0 0 0 2
"
Doesn't the answer depend upon the machine you are working on? I mean both
are perfectly possible situations if you see.
First option is little-endian, second one is big-endian.

Which one should I probably go for in case I am not provided a "machine
dependent" option?

Reference:
http://en.wikipedia.org/wiki/Endianness#Big-endian
-- 
___________________________________________________________________________________________________________

Please do not print this e-mail until urgent requirement. Go Green!!
Save Papers <=> Save Trees

-- 
You received this message because you are subscribed to the Google Groups 
"Algorithm Geeks" group.
To post to this group, send email to algogeeks@googlegroups.com.
To unsubscribe from this group, send email to 
algogeeks+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/algogeeks?hl=en.

Reply via email to