1.

Which of these best describes an array?(a) A data structure that shows a hierarchical behavior(b) Container of objects of similar types(c) Arrays are immutable once initialised(d) Array is not a data structureMy question is based upon Array and Array Operations topic in chapter Abstract Data Types of Data Structures & Algorithms IThe question was asked in an international level competition.

Answer»

Right answer is (b) CONTAINER of objects of SIMILAR types

The EXPLANATION is: ARRAY contains elements only of the same type.



Discussion

No Comment Found

Related InterviewSolutions