Is it C or is it Pascal?

Sjoerd Mullender sjoerd at tjalk.UUCP
Wed Oct 31 07:16:57 AEST 1984


What do you C hackers think of this beauty?

(* main())()
{
	/* Is it Pascal? Or is it C? Or is it something else? *)
	program main(output);
	begin
		writeln('Hello World')
	end.
	{ Are you sure? Lint is... */
	printf("Hello World\n");
	return (int ( * )()) 0;
}

--
		Sjoerd Mullender &
		Robbert van Renesse
		Vrije Universiteit
		Amsterdam, The Netherlands

		{sjoerd,cogito}@vu44.UUCP
		...!{decvax|philabs|seismo}!mcvax!vu44!{sjoerd,cogito}



More information about the Comp.lang.c mailing list