Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!unix.cis.pitt.edu!gvlf3.gvl.unisys.com!tredysvr!cellar!rogue From: rogue@cellar.UUCP (Rogue Winter) Newsgroups: comp.std.c Subject: ++i++ in Plain English Message-ID: <5ywa15w164w@cellar.UUCP> Date: 12 Apr 91 17:26:39 GMT Sender: bbs@cellar.UUCP (The Cellar BBS) Organization: The Cellar BBS and public access system Lines: 12 Deliberately not following any of the above, I think it's best to describe the difference between ++i and i++ as follows: ++i Increment i and use the new value in expression (calculation). i++ Use [old] value of i in expression and THEN increment. All this talk about discarding values is confusing and misleading. i retains its value until the function is exited (assuming i is local). rogue winter : "Never trust a gentleman any further than you can throw rogue@cellar.uucp: his valet."