31.8k views
5 votes
The number of bytes in an array is always a multiple of the number of ____ in an array.

indexes
subscripts
iterators
elements

1 Answer

3 votes

Answer:

The Correct answer for the given question is "elements " .

Step-by-step explanation:

The number of bytes is always multiple by the number of array elements in an array to getting total memory occupy by any array .

For example :

int a[100];

Since in c language int is 2 bytes

So memory in number of bytes =2*100=200 bytes

Indexes is keep the track of physical location of any file this is also used to track the logical location of file in database so this option is wrong

Subscripts are the index number of an array so we will never used subscripts to getting total memory occupy by any array so this option is wrong

Iterators are the loop so this option is wrong.

Due to this the correct answer is elements.

User Mazeryt
by
5.4k points