Declaration int numbers [5] = {0,5, 10, 15, 20); Given the memory contents of the initialized numbers array: [0] [1] [2] [3] [4] 0 5 10 15 20 array after initialization Select the statement to re-assign the 3rd value to 67. numbers[] = 67; numbers [3] 67; numbers[] = 67; numbers (3) 67; numbers [2] 67; numbers 673

Respuesta :

The statement to re-assign the 3rd value to 67 is numbers [2] 67.

What is Array?

An array is a type of data structure used in computer science that holds a set of elements that are all uniquely recognized by at least one array index or key. An array is stored in a way that allows a mathematical formula to determine each element's position given its index tuple.

A comma-separated set of constant expressions encased in braces () serves as an array's initializer. An equal sign (=) is placed in front of the initializer. Not every element in an array needs to be initialized.

Since,

Declaration int numbers [5] = {0,5, 10, 15, 20};

initialized numbers array: [0] [1] [2] [3] [4]

array after initialization: 0 5 10 15 20

hence,

numbers[2]=67;

In array index start with 0 but 3rd value nothing but at index 2 .

Learn more about Array click here:

https://brainly.com/question/28061186

#SPJ4

ACCESS MORE