2000

Grusel++ of the month

Home
Download Source
/******************************************************************************/
/*                                                                            */
/*                                                            FILE: APRIL.CPP */
/*                                                                            */
/*  Operators can be funny even without overloading them. This is PLAIN C ... */
/*  ========================================================================= */
/*                                                                            */
/*  Compiled and tested with Visual C++ V6.0                                  */
/*                                                                            */
/*  V1.00   29-APR-2000   P. Tellenbach   http://www.heimetli.ch/             */
/*                                                                            */
/******************************************************************************/

#include <stdio.h>

int main( )
{
 char str[] = "Who Wrote This stupid Hello World Program ?" ;

 return printf( "%c. %c%.3s%c%c%x%cc%c\n",
                '\"'[str],
                *(str + 012),
                str + 'X' - 'A',
                *str + 0XEUL,
                --str[(main != (int (*)()) printf) << 1],
                '\n' | ('\n' / 2) & 1,
                str[37 < 38 ? 39 : 40],
                ('I','C','H') ^ ' ' ) ;