Answer:
4 and 50
Step-by-step explanation:
To answer the question above, we are to first of all consider the size of union will be the max size of datatype in union data. I.E.
sizeof(int *) is 4 bytes
so, sizeof(U) = sizeof(temp) is 4
and we saved 50 in temp.i1. so, 50 we can access 50 from temp.i2 as well
so, output is 4 and 50