Answer error in question no. 3 to create dynamic array

why option B is the correct answer not C

B) int **arr = new int *[100];

C) int *arr = new int [100];

hello @Jainish-Patel-1007094602980100
please paste the screenshot of the question


see int *arr=new int [100];
will create array of integers
but the question demand array of pointers of integeres that means now we have int * in place of int.
so replace int with int * in above equation.

int * *arr= new int * [100];

which is option b.

I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.

On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.