Path: utzoo!attcan!uunet!samsung!zaphod.mps.ohio-state.edu!usc!rutgers!ub.d.umn.edu!cs.umn.edu!sctc.com!bright From: bright@sctc.com (Dave Bright) Newsgroups: comp.std.c Subject: Re: Quick Question Keywords: parsing, ansi c Message-ID: <1990Aug7.194009.11638@sctc.com> Date: 7 Aug 90 19:40:09 GMT References: <10136@pt.cs.cmu.edu> Organization: Secure Computing Technology Corporation Lines: 19 hjelm@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@cs.cmu.edu -- David A. Bright Secure Computing Technology Corporation bright@SCTC.COM (work) 1210 West County Road E, Suite 100 dab@Bright.MN.ORG (home) Arden Hills, MN 55112