Translate

Labels

Thursday, 20 June 2013

PROGRAM TO HIDE THE SYNTAX OF C

#define BEGIN main(){
#define END}
#define EQUAL ==
#define READ(N) scanf("%d",&N)
#define WRITELN(N) printf("%d\n",N)



BEGIN

int i;
READ(i);
if(i EQUAL 5)
WRITELN(i);
END


If the read out value is 5 the output will be printed; otherwise the output will not be printed.

No comments: