Reputation: 793
Is there a difference between the following two lines and if so what is it? (in C++)
float (**a[10]);
float *(*a[10]);
Upvotes: 3
Views: 69
Reputation: 32576
No. Try
float (**a[10]);
float *(*b[10]);
if (typeid(a) == typeid(b))
printf("==\n");
else
printf("!=\n");
The output is
==
Upvotes: 7