아래 코드는 왜 big endian 머신과 little endian 머신에서 동일한
결과 값을 출력할까요?????
암만 생각해도 답이 안나와 이곳 kldp에 물어봅니다.
감사합니다.....
[code:1]
main()
{
unsigned short int source;
unsigned short int conv = 0;
source = 333;
conv = (source & 0xff00) >> 8;
conv |= (source & 0x00ff) << 8;
printf(" source : %d \n", source);
printf(" conv : %d \n", conv);