1

How to create a dynamic array of pointers (to integers) of size 10 using new in C++? Hint: We can create a non-dynamic array using int *arr[10]

Correct Answer: int **arr = new int *[10];

Make the most of this question

This page focuses on one CPP Programming question from Engineering. After checking the answer, return to the topic list to practice more or run a timed set.

CPP Programming MCQ: How to create a dynamic array of pointers (to integers) of size 10 using new in C++? Hint: We can create a non-dynamic array using int *arr[10] | Extra Education