Path: utzoo!utgpu!news-server.csri.toronto.edu!clyde.concordia.ca!uunet!munnari.oz.au!metro!cluster!necisa!boyd From: boyd@necisa.ho.necisa.oz (Boyd Roberts) Newsgroups: comp.lang.c Subject: Re: Brain Teaser Message-ID: <1259@necisa.ho.necisa.oz> Date: 30 Mar 90 00:59:43 GMT References: <10289@wpi.wpi.edu> <578@atcmpe.atcmp.nl> Organization: NEC Information Systems Australia Pty. Ltd. Lines: 13 From article <10289@wpi.wpi.edu>, by oesterle@wpi.wpi.edu (Shawn H. Oesterle): > Problem: > Swap two pointers without using a third pointer. > Arithmetic operations with pointers that don't point to `the same array' are not defined. Apart from that, this `Brain Teaser' is a pointless discourse into abstruse and non-portable constructs. Boyd Roberts boyd@necisa.ho.necisa.oz.au ``When the going gets wierd, the weird turn pro...''