English

Define the following with its construct: Double Dimensional Array - Computer Applications

Advertisements
Advertisements

Question

Define the following with its construct:

Double Dimensional Array

Answer in Brief
Definition

Solution

  1. The X and Y axes represent a double-dimensional array, with the X axis representing the number of rows and the Y axis representing the number of columns.
  2. A double-dimensional array, commonly known as a double-subscripted variable, uses two types of subscripts. (One for each row and column). In a double-dimensional array, cells can be accessed using row and column numbers.
  3. Example: int m[][] = new int[3][4]; // 3 rows and 4 columns
shaalaa.com
  Is there an error in this question or solution?
Chapter 3: Arrays (Single Dimensional and Double Dimensional) - EXERCISES [Page 239]

APPEARS IN

Avichal Computer Applications [English] Class 10 ICSE
Chapter 3 Arrays (Single Dimensional and Double Dimensional)
EXERCISES | Q V. 5. (b) | Page 239
Share
Notifications

Englishहिंदीमराठी


      Forgot password?
Use app×