Start learning →

In row-major order, how are elements of each row stored in memory?

AIn arbitrary blocks
BAt scattered offsets
CAcross alternating rows
DIn consecutive positions
Answer & Solution
Correct answer: D. In consecutive positions
Row-major layout places elements of each row in consecutive memory positions.
Practise this question with Quill — ICSE Class 10 →

Keep practising Arrays in Java (Single and Double Dimensional)

Browse all Arrays in Java (Single and Double Dimensional) questions for ICSE Class 10, or explore more Computer Applications topics.

Start a Arrays in Java (Single and Double Dimensional) lesson →