GNU Home / GNU humor / Software /

Merry Christmas in four languages

From Niksa Orlic

The following is in C, Pascal, FORTRAN, and PHP. You might also be interested in Happy New Year in four languages.

const a = '\''; void b()/*'; var b:string;{
c */ { /*
c <?php print "<script>document.fgColor='#ffffff'</script>";
cos(1);print "<font color=black size=+2>Merry Christmas</font>" ?>
17	format('Merry Christmas')
	write(6, 17)
	stop
	end
c */
char *a = "}begin b:='{"; } int main () { /*'; writeln{*/
char cbuf[64]; sprintf(cbuf, "}('Merry Christmas') end. {");
cbuf[18] = '\n'; cbuf[19] = '0円'; printf(cbuf+3); return 0; }

The joke on this page was submitted to the GNU Project by Niksa Orlic in 2003.