Machine-translated by Google. Questions are authored in English.
Top

Discussion

What is Array?

  • A.Collection of different type of elements
  • B.Collection of similar type of elements
  • C.None of the above
  • D.Both A and C

Answer: B

Correct answer: Collection of similar type of elements

An array is a collection of elements of the same type, stored consecutively and reached by index. The uniform element size is what makes the index arithmetic work; a collection of mixed types is a structure, not an array.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.