how is that possible can u explain? how it prints whether it is a big endian or little endian
 
Guys!,
 
See this code
 
main()
{
   int x=1;
   if((*(char *)&x)==1)//Little Endian
   else  //Big endian
}
 
This is much, much easier to understand.
 
 

Yahoo! India Matrimony: Find your life partner online.

To unsubscribe : [EMAIL PROTECTED]




Yahoo! Groups Sponsor
ADVERTISEMENT
click here


Yahoo! Groups Links

Reply via email to