home *** CD-ROM | disk | FTP | other *** search
- From: leo@s514.ipmce.su (Leonid A. Broukhis)
- Newsgroups: alt.sources,comp.lang.c
- Subject: Re2: Small introspective program
- Message-ID: <AGLfVtd4T5@s514.ipmce.su>
- Date: 13 Mar 91 11:55:52 GMT
-
- In article <1991Mar10.231230.17301@casbah.acns.nwu.edu>
- olsen@casbah.acns.nwu.edu (Jeff Olsen) writes:
- >
- >sure...
- >
- >*a="*a=%c%s%c;main(){printf(a,34,a,34);}";main(){printf(a,34,a,34);}
- >
- >I tried it with MSC 6.0 and whatever the default cc is on a encore
- >multimax. GCC doesn't appear to like it, though.
- >
- Especially gcc -ansi -pedantic !!
-
- I don't like even int*a= ...., because I tried it on a word-oriented
- machine, which has different forms of int* and char* ...
-
- --
- Leonid A. Broukhis | 89-1-95 Liberty St. | "BROUKHIS" is Hebrew for
- 7+095 494.6241 (h) | Moscow 123481 USSR | "BENEDICTAE"
- 7+095 132.9475 (o) | (leo@s514.ipmce.su) | {Licet omnia qualibet dicas}
-