#include <stdio.h>
int main(void) {
// your code goes here
unsigned int TempHoge = 0x55aa;
unsigned char Hoge[2];
Hoge[0] = TempHoge >> 8;
Hoge[1] = TempHoge;
printf("Hoge[0]:%x\n",Hoge
[0]); printf("Hoge[1]:%x\n",Hoge
[1]);
return 0;
}
I2luY2x1ZGUgPHN0ZGlvLmg+CgppbnQgbWFpbih2b2lkKSB7CgkvLyB5b3VyIGNvZGUgZ29lcyBoZXJlCgl1bnNpZ25lZCBpbnQgVGVtcEhvZ2UgPSAweDU1YWE7Cgl1bnNpZ25lZCBjaGFyIEhvZ2VbMl07CgkKCUhvZ2VbMF0gPSBUZW1wSG9nZSA+PiA4OwoJSG9nZVsxXSA9IFRlbXBIb2dlOwoJCglwcmludGYoIkhvZ2VbMF06JXhcbiIsSG9nZVswXSk7CglwcmludGYoIkhvZ2VbMV06JXhcbiIsSG9nZVsxXSk7CgkKCXJldHVybiAwOwp9Cg==