🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.std.c
Article #1573

Re: Quick Question

#1573
From: Doug Gwyn
Date: Thu, 09 Aug 1990 15:33
8 lines
752 bytes
In article <10136@pt.cs.cmu.edu> 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?

The former.  C declaration style is "contextual", so that whatever is
closest to the identifier happens first.
Technical Details
Message-ID: <13506@smoke.BRL.MIL>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!aplcen!haven!adm!smoke!gwyn
References: <10136@pt.cs.cmu.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!mailrus!uunet!aplcen!haven!adm!smoke!gwyn
From: gwyn@smoke.BRL.MIL (Doug Gwyn)
Newsgroups: comp.std.c
Subject: Re: Quick Question
Keywords: parsing, ansi c
Message-ID: <13506@smoke.BRL.MIL>
Date: 9 Aug 90 15:33:13 GMT
References: <10136@pt.cs.cmu.edu>
Organization: U.S. Army Ballistic Research Laboratory, APG, MD.
Lines: 8