1.

What is the correct syntax of declaring array of pointers of integers of size 10 in C++?

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


Discussion

No Comment Found