Computer Sciences > GATE 2014 SET-2 > Arrays
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.
t0 = i * 1024
t1 = j * 32
t2 = k * 4
t3 = t1 + t2
t4 = t0 + t3
t5 = X[t4]
Which one of the following statements about the source code for the C program is CORRECT?
t0 = i * 1024
t1 = j * 32
t2 = k * 4
t3 = t1 + t2
t4 = t0 + t3
t5 = X[t4]
Which one of the following statements about the source code for the C program is CORRECT?
Correct : a
Similar Questions
Let A be an array containing integer values. The distance of A is defined as the minimum number of elements in A that must be replaced with another integer so t...
A palindrome is a word that reads the same forwards and backwards. In a game
of words, a player has the following two plates painted with letters.
From...
Which number does not belong in the series below?
2, 5, 10, 17, 26, 37, 50, 64
Total Unique Visitors
Loading......