Difference of double pointers when used with an array

Is there any difference between the two lines and if so what is it? (in C ++)

float (**a[10]);
float *(*a[10]);

      

+3


source to share


1 answer


Not. Try

float (**a[10]);
float *(*b[10]);
if (typeid(a) == typeid(b))
    printf("==\n");
else
    printf("!=\n");

      



Output signal

==

      

+7


source







All Articles