7 lines
278 B
C
7 lines
278 B
C
#include <stdio.h>
|
|
short big_endian[] = { 0x4269, 0x4765, 0x4e64, 0x4961, 0x4e00, 0, };
|
|
short little_endian[] = { 0x694c, 0x7454, 0x654c, 0x6e45, 0x6944, 0x6e41, 0, };
|
|
int main(int argc, char *argv[])
|
|
{
|
|
return printf("%s %s\n", (char *)big_endian, (char *)little_endian);
|
|
}
|