Pointers MCQ Question 3

Q­3 How can dynamic array of pointers(to integers) of size 100 can be
created using new in C++?
please explain how you reached at the solution, why is it a double pointer? and how to use new (did’nt come across it in the lectures or handouts)

@ilovetocode Dynamic(Run time) allocation is done using new keyword. It reserves some memory in the heap area. For the concepts you can refer dynamic memory allocation related videos which is already there in the array 2.0 sections of your course. After referring those videos you will be able to answer these questions. So first refer those video and still if you have some doubt then you can reply back.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.