Sorry in advance if this is really dumb, but I am trying to get my
head around exactly what the declarator is. In the FAQ, 1.21, part of
it says "C declarations ....come in 2 parts, a base type and a
declarator..... .".
The example used is char *pc where the declarator " *pc" tells us
that " *pc is a character".
Can one thus broadly say that a declarator is in fact equivalent to
the base type?
So, in a more complicated expression eg char * ( *pfpc) () ; once
again "* ( *pfpc) ()" is a character?
Thanks as usual.
head around exactly what the declarator is. In the FAQ, 1.21, part of
it says "C declarations ....come in 2 parts, a base type and a
declarator..... .".
The example used is char *pc where the declarator " *pc" tells us
that " *pc is a character".
Can one thus broadly say that a declarator is in fact equivalent to
the base type?
So, in a more complicated expression eg char * ( *pfpc) () ; once
again "* ( *pfpc) ()" is a character?
Thanks as usual.
Comment