Quick Question
Dave Bright
bright at sctc.com
Wed Aug 8 05:40:09 AEST 1990
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?
According to cdecl, choice #1:
$ cdecl
Type `help' or `?' for help
cdecl> explain int *const *volatile a;
declare a as volatile pointer to const pointer to int
$
>hjelm at cs.cmu.edu
--
David A. Bright
Secure Computing Technology Corporation bright at SCTC.COM (work)
1210 West County Road E, Suite 100 dab at Bright.MN.ORG (home)
Arden Hills, MN 55112
More information about the Comp.std.c
mailing list