1.

Both Dynamic array and Dynamically memory allocated array are same.(a) True(b) FalseMy enquiry is from Dynamic Array in chapter Arrays Types of Data Structures & Algorithms II had been asked this question in final exam.

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.



Discussion

No Comment Found

Related InterviewSolutions