See if you can install a command cdeclfor your system. (On Ubuntu ,.sudo apt-get install cdecl ) There is also a cdecl.org web interface .
Here is what he told me for your examples on my system:
$ cdecl
Type `help' or `?' for help
cdecl> explain int * a[10];
declare a as array 10 of pointer to int
cdecl> explain int (*b)[10];
declare b as pointer to array 10 of int
cdecl>
source
share