answersLogoWhite

0

int a[8][5]= {{a1,b1,c1,d1,e1},

{a2,b2,c2,d2,e2},

{a3,b3,c3,d3,E3},

{a4,b4,c4,d4,d4},

{a5,b5,c5,d5,e5},

{a6,b6,c6,d6,e6},

{a7,b7,c7,d7,e7},

{a8,b8,c8,d8,e8}};

This is an Integer Array Containing 40 elements or 40 integer values.

In this e.g. First (dimension) subscript-8 will be the row and the second (dimension) subscript -5 will be the column.

User Avatar

Wiki User

15y ago

What else can I help you with?

Continue Learning about Engineering

Differentiate single dimensional array to double dimensional array?

A single dimensional array is an array of items. A two-dimensional array is an array of arrays of items.


What is meant by irregular dimensional array?

An irregular dimensional array is a special type of multi-dimensional array.First we must understand that a multi-dimensional array is just an array of arrays. Each element in the array is, itself, an array of elements.A regular multi-dimensional array will be an array of size n, with each element containing a separate array of size m. That is, each sub-array has the same size.An irregular multi-dimensional array will be a multi-dimensional array in which each sub-array does not contain the same number of elements.Regular array:array[0] = new array{0, 1, 2}array[1] = new array{3, 4, 5}array[2] = new array{6, 7, 8}array[3] = new array{9, 10, 11}This regular array is an array of size 4 in which each sub-array is of size 3.Irregular array:array[0] = new array{0, 1, 2}array[1] = new array{3, 4}array[2] = new array{5, 6, 7}array[3] = new array{8, 9, 10, 11}This irregular array is an array of size 4 in which the size of each sub-array is not the same.


How do you swap two adjecent no in array in c?

Option 1) Use a temporary variable: int x = array[i]; array[i] = array[i+1]; array[i+1] = x; Option 2) Use bit operators: array[i] ^= array[i+1] ^= array[i];


How do you swap rows in 2 dimensional array in Java?

[]temp = array[1] array[2]=array[1] array[1]=[]temp


What is the array function in CAD?

there r 2 types of array in cad - rectangular array and polar array...........