Re: Re[4]: OOT: Interesting C quiz
- Posted by Pete Lomax <petelomax at blueyonder.co.uk> Feb 18, 2004
- 556 views
On Wed, 18 Feb 2004 10:38:04 +0000, Pete Lomax <petelomax at blueyonder.co.uk> wrote: > > >On Tue, 17 Feb 2004 21:53:42 +0800, aku saya <akusaya at gmx.net> wrote: > >>1. change i-- to n-- >>2. change i<n to -i<n >>3. change i<n to i+n (tricky!) >>4. change i<n to ~i<n >> >>The question says there are at least 4 ways,, who knows there are >>more...?? >Does i^n work? Sorry, I just realised that's another infinite loop, never mind. Pete