InterviewSolution
Saved Bookmarks
| 1. |
In which of the following cases dynamic arrays are not preferred?(a) If the size of the array is unknown(b) If the size of the array changes after few iterations(c) If the memory reallocation takes more time i.e. expensive(d) If the array holds less number of elementsThis intriguing question originated from Dynamic Array in portion Arrays Types of Data Structures & Algorithms II had been asked this question during an online exam. |
|
Answer» Correct ANSWER is (d) If the array holds less number of elements |
|