tiuw-avatar

Array elements all have the same ____ in common.

  • a. Pointer
  • b. Memory location
  • c. Value
  • d. Data type
0%

5 replies

over 6 years ago
waania-avatar
The array A[n] is defined once with a data type. It can be an integer, float, char, long and so on. An array may have infinite elements if there is enough memory for storage. All elements have own value, memory location and pointers, e.g. A[n1] = 2; A[n2] = 7. In this example pointers n1 and n2 are different, as well as values. Similarly all elements are allocated different memory location. Only thing common among all array elements is data type. Data type is defined once the array is defined.
100%
over 6 years ago
rajas-avatar
Array elements have data type common.
100%