Skip to content
Related Articles

Related Articles

ISRO | ISRO CS 2020 | Question 80
  • Last Updated : 31 Jan, 2020
GeeksforGeeks - Summer Carnival Banner

Consider a 2-dimensional array x with 10 rows and 4 columns, with each element storing a value equivalent to the product of row number and column number. The array row major format. If the first element x[0][0] occupies the memory location with address 1000 and each element occupies only one memory location, which all locations (in decimal) will be holding a value of 10 ?
(A) 1018, 1019
(B) 1022, 1041
(C) 1013, 1014
(D) 1000, 1399


Answer: (B)

Explanation:

Quiz of this Question
Please comment below if you find anything wrong in the above post

Attention reader! Don’t stop learning now. Get hold of all the important DSA concepts with the DSA Self Paced Course at a student-friendly price and become industry ready.

My Personal Notes arrow_drop_up
Recommended Articles
Page :