Q. 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: (B)
int **arr = new int *[10];
You must be Logged in to update hint/solution
Discussion
Question Analytics
982
Total Visits
3 y ago
Published
Mr. Dubey
Publisher
87%
Success Rate