Single Choice Not Set

Q1. Let A be a dimensional array declared as follows A:[1....10][1.....15] of integers. Assume that each integer takes one memory location, the array is stored in row-major order and the first element of the array is stored at location 100, what is the address of the element A[i][j]?

ID: #2707 Array MCQ 2,108 views
Question Info
#2707Q ID
Not SetDifficulty
Array MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A 15i+j+84
  • B 15j+i+84
  • C 10i+j+98
  • D d. None of the above
Correct Answer

Explanation

15i+j+84
No Previous Next Question

Share This Question

Challenge a friend or share with your study group.