What is the correct syntax of declaring array of pointers of integers of size 10 in C++?
Posted: Wed Jul 13, 2022 7:51 pm
a) int arr = new int[10];
b) int **arr = new int*[10];
c) int *arr = new int[10];
d) int *arr = new int*[10];
b) int **arr = new int*[10];
c) int *arr = new int[10];
d) int *arr = new int*[10];