#include <stdio.h>
int main ()
{
unsignedint x = 0x76543210;
char *c = (char*) &x; // part of code I'm confused with
if (*c == 0x10)
{
printf ("Underlying architecture is little endian. \n");
}
else
{
printf ("Underlying architecture is big endian. \n");
}
return 0;
}