&&**
Pat Rankin
rankin at eql.caltech.edu
Sat Sep 8 09:00:45 AEST 1990
In article <1990Sep7.080855.24070 at irisa.fr>, ridoux at irisa.fr (Olivier Ridoux) writes...
[...]
>My question is not on the validity of the composition of the operator `` & ''.
>It is rather "what is the rational of the cc and gcc compilers (sun4) that
>makes them accept the following program. Can I expect that every C compiler
>will have the same rational ?
VAXC (VMS) rejects it:
[...]
> printf( "%c\n", *(*( &(&(*(*(ppc)))) )) ); /* 1 */
%CC-E-INVOPERAND, Invalid operand of a "& (address-of)" operator.
(Same error repeated for the other similar lines. VAXC V3.1)
Pat Rankin, rankin at eql.caltech.edu
More information about the Comp.lang.c
mailing list