Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!iuvax!cica!tut.cis.ohio-state.edu!pt.cs.cmu.edu!cadre.dsl.pitt.edu!pitt!unix.cis.pitt.edu!peper1 From: peper1@unix.cis.pitt.edu (J. Christian A. Peper) Newsgroups: comp.lang.c Subject: Re: This one bit me today Keywords: What's wrong? Message-ID: <19856@unix.cis.pitt.edu> Date: 5 Oct 89 20:23:18 GMT References: <2432@hub.UUCP> Reply-To: peper1@unix.cis.pitt.edu (J. Christian A. Peper) Distribution: usa Organization: The Netherlands Lines: 19 In article <2432@hub.UUCP> dougp@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@PITTVMS.BITNET peper1@unix.cis.pitt.edu * * Claimer: If it ain't DUTCH, it ain't much!!!!!! * * En voor jullie eikels daar ergens: Net goed!! Toffelemoon! *