Skip to content

Beta · Data may be lost.Your data may be reset or lost.

GateBrew
← GATE CSE 2014 Set 2
Questions

Q34

MCQ2 marks, −0.67Compiler designMedium

For a C program accessing X[i][j][k]\mathbf{X[i] [j] [k]}, the following intermediate code is generated by a compiler. Assume that the size of an integer is 3232 bits and the size of a character is 88 bits. t0 = i ∗ 1024 t1 = j ∗ 32 t2 = k ∗ 4 t3 = t1 + t0 t4 = t3 + t2 t5 = X[t4] Which one of the following statements about the source code for the C program is CORRECT?

Sign in to save attempts.

Solutions and discussion are hidden while you attempt this question. They open once you check or show the answer.