Computer Science, asked by harishu2005, 11 months ago

which element of an array average is represented by average [10] ?

Answers

Answered by kailashmeena123rm
7

Answer:

THE ELEMENT AT

11 th POSITION

average[0] represent element present at base address of array and so on

For Example

consider a single dimension array

array[ ]= { 1,2,3,4}

array[0] = 1

aray[1] = 2

aray[ 2 ] = 3

aray[ 3 ] = 4

HOPE IT HELPS

FOLLOW ME

BYE

Answered by ridhimakh1219
4

average[10] is the eleventh element of an array average

Explanation:

Array declaration

typeName variableName[N];

The size, N specifies total number of elements in an array.

As we know, indices are zero-based means array index starts from 0 and ends at N - 1.

For example,

int average[12];

There are 12 elements in an array of type int.

N = 12, thus the valid indices for average array is from 0 to 11.

average[0] is the first element

average[1] is the second element

average[2] is the third element

average[3] is the fourth element

average[4] is the fifth element

average[5] is the sixth element

average[6] is the seventh element

average[7] is the eighth element

average[8] is the ninth element

average[9] is the tenth element

average[10] is the eleventh element

average[11] is the twelfth element

Similar questions