> 1. Is FreeBSD little Endian like windows?
>=20
> 2. Linux is Big endian?
>=20
> wrote a code int i =3D 1;    if((i >> 1) =3D=3D 0) little else big
> got little on all platforms bsd,linux,windows.
>=20
> *Does endianness depends on OS or the hardware?*

It depends on the hardware.
http://en.wikipedia.org/wiki/Endianess


Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to