Xref: utzoo alt.folklore.urban:16877 comp.lang.c:40575 Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!qt.cs.utexas.edu!zaphod.mps.ohio-state.edu!uwm.edu!ux1.cso.uiuc.edu!usenet From: tmkk@uiuc.edu (K. Khan) Newsgroups: alt.folklore.urban,comp.lang.c Subject: Re: Heroic failures (q = q++) Message-ID: <1991Jun28.213152.2990@ux1.cso.uiuc.edu> Date: 28 Jun 91 21:31:52 GMT References: <15952@exodus.Eng.Sun.COM> <7079@gara.une.oz.au> <15520@exodus.Eng.Sun.COM> <1991Jun25.151408.1024@ux1.cso.uiuc.edu> <29378@uflorida.cis.ufl.EDU> Sender: usenet@ux1.cso.uiuc.edu (News) Organization: University of Illinois at Urbana Lines: 24 In article <15952@exodus.Eng.Sun.COM> rmp@crashnburn.Eng.Sun.COM (Richard Pottorff) writes: > >I tried this two ways on my Turbo Pascal Compiler at home. > ^^^^^^^^^^^^^^^^^^^^^ > >int q=0; >printf("\nq=q++=%d", q=q++); > >q=q++=0; > >and: > q=q++; > > printf("\nq=%d", q); > > q=1 You did? And it compiled?!?!?!?!?!?!? >I don't know what this proves. It proves that you don't know the difference between a Pascal compiler and a C compiler! ;-) ;-) ;-) ;-) ;-)