Heroic failures (q = q++)

John 'Vlad' Adams jma at reef.cis.ufl.edu
Wed Jun 26 06:30:46 AEST 1991


In article <1991Jun25.151408.1024 at ux1.cso.uiuc.edu> vulcan at uiuc.edu (EvilTwin) writes:
>A co-worker and I tried the above on our respective machines.  He on an IBM
>70/386 using Borland C++, I on a MicroVAX II using DEC's C version 3.1.  He
>received a result of 6, I one of 5.
>ps - the initial value of q was 5.

My platform, an Amiga, with SAS C 5.10a, also generates a 5.
Long live DECs and Amigas.  :)
-- 
John  M.  Adams   --*****--   Professional Student      ///
Internet: jma at cis.ufl.edu             Genie:  vlad     ///  Only the Amiga
Sysop of The Beachside, Amiga Support, StarNet BBS  \\V//  Makes it Possible
Fido Net 1:3612/557.    904-492-2305     (Florida)   \X/



More information about the Comp.lang.c mailing list