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