

MCQOPTIONS
Saved Bookmarks
1. |
Consider the following programmain(){int x = 1;printf (“%d”, (*char(char *)&x)) ;}Assuming required header files are included and if the machine in which this program is executed is little-endian, then the output will be |
A. | 0 |
B. | 99999999 |
C. | 1 |
D. | unpredictable |
Answer» E. | |