1.

What is a dynamic array?(a) A variable size data structure(b) An array which is created at runtime(c) The memory to the array is allocated at runtime(d) An array which is reallocated everytime whenever new elements have to be addedThe origin of the question is Dynamic Array topic in portion Arrays Types of Data Structures & Algorithms IThis question was addressed to me in an online quiz.

Answer»

Right option is (a) A variable SIZE data structure

Explanation: It is a varying-size list data structure that allows items to be added or removed, it MAY use a FIXED SIZED array at the BACK end.



Discussion

No Comment Found

Related InterviewSolutions