DEEWILL3697 DEEWILL3697
  • 14-09-2019
  • Computers and Technology
contestada

Every element in an array always has the same data type. Necessary ?

Respuesta :

ExieFansler ExieFansler
  • 17-09-2019

Answer:

False.

Explanation:

Every element in the array is always have same data type.

Array is the collection of items of same data type stored in contiguous memory location.

So as the definition suggests that array elements always have same data type.

But it is not necessary there are some languages that can allow array elements to be different types such as javascript,python.But traditional languages such as C,C++,Java does not allow this.

Answer Link

Otras preguntas

How is the underlined pronoun used in the sentence? A while ago, he gave (me) a rookie basketball card as a birthday gift. A. subject B. direct object C. ob
Why do the constellations seem to move around in the sky? A. Gravity pulls them closer to Earth, and then lets them go. B. The Earth's rotation makes the conste
The major expense of state government is the: welfare system education system postal service military
how does the periodic table summarize what we know about elements?
The War Industries Board was designed to
what is the first modern decade?
issues drivers' licenses
Which textile technique do quilters use to craft blankets? A) Weaving B) Knitting C) Stitchery D) Cross-stitching
Andy is one-fourth as old as his grandfather, who is 76 years old. Write an equation to determine whether Andy is 19 or 22 years old.
simplify fully... x²+3x-4 / 2x²-5x+3