1.

What will be output of following program? Assume that you are running this program in little-endian processor.#includeint main( ) {short a = 320;char * ptr; ptr = (char *)&a: printf(“%d”,*ptr)return 0;}

A. 1
B. 320
C. 64
D. Compilation Error
Answer» D. Compilation Error


Discussion

No Comment Found