Question 78Asked in DSSSB PGT Computer Science (Technical), 11 Jul 2021

Consider an array A[2 : 8, −4 : 1, 6 : 10]. Base address of array A is = 400 and size of each element = 2 word per memory cell. What is the address of A[5,…

Consider an array A[2 : 8, −4 : 1, 6 : 10]. Base address of array A is = 400 and size of each element = 2 word per memory cell. What is the address of A[5, −1, 8] in row major form?
  1. A628
  2. B614
  3. C630
  4. D626
Show answerHide answer

Correct answer: (A) 628

Explanation

Note: DSSSB allowed option (a) as correct (the computed value 614 does not match the official key).

From DSSSB PGT Computer Science PYQ (Technical), 11 Jul 2021

This is question 78 of DSSSB PGT Computer Science PYQ (Technical), 11 Jul 2021. See all questions of this paper with answers, or attempt the paper as a timed online test to get your score and all-India rank.