Page 1 of 1

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
by answerhappygod
a) int arr = new int[10];
b) int **arr = new int*[10];
c) int *arr = new int[10];
d) int *arr = new int*[10];