This one bit me today
J. Christian A. Peper
peper1 at unix.cis.pitt.edu
Fri Oct 6 06:23:18 AEST 1989
In article <2432 at hub.UUCP> dougp at voodoo.ucsb.edu writes:
>main()
> {
> int a=1,b=2,*p=&a,c;
> c=b/*p;
> }
>First real flaw in the C grammer I have found.
Why? What's wrong with it? *p is an integer ptr, right? So?
c = 2
Chris.
--
* PEPER1 at PITTVMS.BITNET peper1 at unix.cis.pitt.edu *
* Claimer: If it ain't DUTCH, it ain't much!!!!!! *
* En voor jullie eikels daar ergens: Net goed!! Toffelemoon! *
More information about the Comp.lang.c
mailing list