Entering [declare funcptr as pointer to function (pointer to const int, const pointer to char) returning int prints out int (*funcptr)(const int *, char * const )](int (funcptr)(const int , char * const )). This is good.
Entering int (*funcptr)(const int *, char * const ) prints out syntax error. This is wrong. It should print declare funcptr as pointer to function (pointer to const int, const pointer to char) returning int.
Dropping the consts from the arguments prints correctly.
Entering [
declare funcptr as pointer to function (pointer to const int, const pointer to char) returning int
prints outint (*funcptr)(const int *, char * const )
](int (funcptr)(const int , char * const )). This is good.Entering
int (*funcptr)(const int *, char * const )
prints outsyntax error
. This is wrong. It should printdeclare funcptr as pointer to function (pointer to const int, const pointer to char) returning int
.Dropping the
const
s from the arguments prints correctly.