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]

A. int *arr = new int *[10];
B. int **arr = new int *[10];
C. int *arr = new int [10];
D. Not Possible
Answer» C. int *arr = new int [10];


Discussion

No Comment Found