Consider the program
main( )
{
int y = 1;
printf ("%d", (*(char *)&x)) :
}
If the machine in which this program is executed is little-endian (meaning, the lower signifi-cant digits occupy lower addresses), then the output will he
A. | 0 |
B. | 99999999 |
C. | 1 |
D. | unpredictable |
Answer : C Explanation : |
|
Option: A Explanation : Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. Explanation will come here. |