0
No. For dynamic memory allocation, you just have to dynamically allocate size of the array you need. That's the whole point of dynamic allocation. For example, if you take a integer input and put it in a array, you have to allocate one integer memory for each integer that you have taken as input.
14th Jul 2016, 4:51 AM
Aman Agarwal
Aman Agarwal - avatar