Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!cs.utexas.edu!uunet!murtoa.cs.mu.oz.au!munnari.oz.au!otc!metro!extro!natmlab!ditsyda!mqcomp!jamespw From: jamespw@mqcomp.oz (Warlow) Newsgroups: comp.lang.c Subject: Re: Help w/2 things ... Message-ID: <671@mqcomp.oz> Date: 15 Aug 89 02:28:19 GMT References: <63195@linus.UUCP> Reply-To: jamespw@mqcomp.mq.oz (James Picton-Warlow) Organization: Computing Discipline, Macquarie University Lines: 10 In article <63195@linus.UUCP> rtidd@mitre.arpa writes: >... > Write a program that will display an exact copy of its own >source code. I lifted the following from someone's signature a while back: char*p="char*p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);} (NB 34 == '"')