Xref: utzoo comp.lang.c:12681 comp.lang.c++:1625 Path: utzoo!attcan!uunet!husc6!bloom-beacon!mit-eddie!rutgers!bellcore!faline!thumper!ulysses!andante!alice!bs From: bs@alice.UUCP (Bjarne Stroustrup) Newsgroups: comp.lang.c,comp.lang.c++ Subject: Re: const comparison in C and C++ Message-ID: <8211@alice.UUCP> Date: 17 Sep 88 12:26:27 GMT References: <709@paris.ICS.UCI.EDU> <8500@smoke.ARPA> <1411@solo3.cs.vu.nl> Organization: AT&T Bell Laboratories, Murray Hill NJ Lines: 13 Free U Amsterdam writes: brl.arpa (Doug Gwyn (VLD/VMB) ) writes: > Essentially, C++ "const" means "constant"; ANSI C "const" means "readonly". > > Aha! That means the following is correct? > > const volatile int * const clock; /* clock is a readonly pointer to */ > /* a readonly and volatile int */ Yes. In both languages.