#include
int main()
{
int x = 0x1234;
if (char(x) == 0x34)
{
printf("小端机!\n");
}
else
{
printf("大端机!\n");
}
return 0;
}
#include
int main()
{
int x = 0x1234;
if (char(x) == 0x34)
{
printf("小端机!\n");
}
else
{
printf("大端机!\n");
}
return 0;
}