Quick Question

Doug Gwyn gwyn at smoke.BRL.MIL
Fri Aug 10 01:33:13 AEST 1990


In article <10136 at pt.cs.cmu.edu> hjelm at g.gp.cs.cmu.edu (Mark Hjelm) writes:
-What is the correct parse of:
-    int *const *volatile a;
-a is a volatile pointer to a const pointer to an int or
-a is a const pointer to a volatile pointer to an int?

The former.  C declaration style is "contextual", so that whatever is
closest to the identifier happens first.



More information about the Comp.std.c mailing list