S
sinbad
hi,
How to find whether a given integer word is in BIG-ENDIAN or little-
endian order ... Basically there is a function fun()
which takes integer x as input parameter , without changing the
contents of 'x' , we should find if it is BIG or small endian.
thanks
sinbad
-----------------------------------
void func(int x)
{
/* do something on 'x' and find if it is BIG or little endian */
}
-----------------------------------
How to find whether a given integer word is in BIG-ENDIAN or little-
endian order ... Basically there is a function fun()
which takes integer x as input parameter , without changing the
contents of 'x' , we should find if it is BIG or small endian.
thanks
sinbad
-----------------------------------
void func(int x)
{
/* do something on 'x' and find if it is BIG or little endian */
}
-----------------------------------