Memory Representation: Memory representation is how data is stored in computer memory. When representing 2D arrays, it involves allocating contiguous blocks of memory to store the elements of the array in row-major or column-major order.
Nested Array:A nested array is an array within another array. In the context of representing 2D arrays, it means having an array where each element is also an array, forming a multidimensional structure.
Indexing: Indexing refers to accessing specific elements within an array using their position or index value. In the case of representing 2D arrays, indexing allows us to retrieve or modify individual elements by specifying both row and column indices.