TCS
Company
In a two-dimensional array, X (5, 5), with each element occupying 2 bytes of memory, with the address of the first element X (1, 1) is 1000, find the address of X (4, 3).
(a) 1046 (b) 1024 (c) 1034 (d) 1036
Read Solution (Total 2)
-
- x(1,1)=1000, x(1,5)=1008,
x(2,1)=1010, x(2,5)=1018,
x(3,1)=1020, x(3,5)=1028,
x(4,1)=1030, x(4,2)=1032, x(4,3)=1034 - 13 years agoHelpfull: Yes(5) No(0)
- 1034 is the answer
- 13 years agoHelpfull: Yes(0) No(0)
TCS Other Question
If the decimal equivalent of 5434 to base x is 1246, what is the value of x?
(a) 8 (b) 6 (c) 4 (d) 2
Which of the following pairs cannot be orthogonal?
(a) (3, 5), (- 5, 3) (b) (3, 2), (- 2, 3) (c) (4, 5), (- 4, 5) (d) (6, - 7), (7, 6)