Assume that the following program is executed on a Little En…
Assume that the following program is executed on a Little Endian processor. Which option below best describes the output. #include int main(){ union a { short i; char ch[2]; }; union a u; u.ch[0]=100; u.ch[1]=7; printf(“%d, %d, %d\n”, u.ch[0], u.ch[1], u.i); u.i = 302; printf(“%d, %d, %d\n”, u.ch[0], u.ch[1], u.i); return 0;}
Read Details