+1 vote
in Data Structures & Algorithms I by (110k points)
Both Dynamic array and Dynamically memory allocated array are same.

(a) True

(b) False

My enquiry is from Dynamic Array in chapter Arrays Types of Data Structures & Algorithms I

I had been asked this question in final exam.

1 Answer

+1 vote
by (408k points)
selected by
 
Best answer
Right option is (b) False

For explanation: Physical size of a Dynamic array is fixed with a larger value. Dynamically memory allocated arrays are arrays whose memory is allocated at run time rather than at compile time. Dynamically memory allocated arrays don’t have physical size at the backend. Thus, Dynamic arrays and Dynamically memory allocated arrays are different.

Related questions

Welcome to TalkJarvis QnA, a question-answer community website for the people by the people. On TalkJarvis QnA you can ask your doubts, curiosity, questions and whatever going in your mind either related to studies or others. Experts and people from different fields will answer.

Categories

...