[comp.lang.c] ANSI rationale has possibly garbled

rgh@inmet.UUCP (04/07/88)

Re garbled sentence in the C Rationale:
The first sentence of 3.5.3.1 (which SHOULD be 3.5.4.1), p.53, should read:
	A pointer declarator may have its own type qualifiers,
	to specify the attributes of the pointer itself, as opposed
	to those of the reference type.

Given the declarations:

	int i;
	volatile int j;

	const int * a;
	int * const b = &i;
	volatile int * const c = &j;

a is a (variable) pointer to a constant int -- const qualifies the reference
type (int).

b is a constant pointer to a (variable) int -- const qualifies the pointer
type (int *).

c is a constant pointer to a volatile int -- const qualifies the pointer
type and volatile qualifies the reference type.

	Randy Hudson   rgh@inmet.uucp   {ihnp4,ima}!inmet!rgh