#includestdio.h
int main()
{
unsigned int n=1;
char *c=(char*)&n;
if(*c)
printf("LITTLE ENDIAN");
else
printf("BIG ENDIAN");
return 0;
}
What is the output of about code?

Posted on by