Re2: Small introspective program

Leonid A. Broukhis leo at s514.ipmce.su
Wed Mar 13 21:55:52 AEST 1991


In article <1991Mar10.231230.17301 at casbah.acns.nwu.edu>
olsen at 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 at s514.ipmce.su) | {Licet omnia qualibet dicas}



More information about the Comp.lang.c mailing list