1.

For a C program accessing X[i][j][k], the following intermediate code is generated by a compiler. Assume that the size of an integer is 32 bits and the size of a character is 8 bits.

A. X is declared as int X[32][32][8] .
B. X is declared as int X[4][1024][32] .
C. X is declared as char X[4][32][8] .
D. X is declared as char X[32][16][2] .
Answer» B. X is declared as int X[4][1024][32] .


Discussion

No Comment Found

Related MCQs