In a 2D array, how are elements stored in memory?
Show answerHide answer
Correct answer: (C) Contiguously in a single block
Explanation
C stores 2D arrays contiguously in one block, row after row (row-major order).
Correct answer: (C) Contiguously in a single block
Explanation
C stores 2D arrays contiguously in one block, row after row (row-major order).
This is question 49 of DSSSB TGT Computer Science PYQ (Technical), 13 Sep 2025, Shift 3 (5:00 PM). 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.