In case of declaration;
const int *p;
specifier const is applied to int i.e, the object p points to.
while regarding the statement(JUNE 1998, EMBEDDED SYSTEMS PROGRAMMING);
Some declaration specifiers do not contribute to the type of the declarator-id.Rather, they specify other semantic information that applies directly to the declarator-id. For example, in:
static unsigned long int *x[N];
the keyword
staticdoes not apply to theunsigned long intobjects that the pointers inxpoint to. Rather, it applies toxitself:
 ---------------------------   
/    \                    / \ 
static unsigned long int * x [N];
This declares that
xis a static object of type “array of N elements of pointer to unsigned long int.”
I do not understand why static applied to x?
 
     
    