Wednesday, July 18, 2012

Logic Thinking

#include <stdio.h>
#include <conio.h>

int main()
{
#define HAPPY (1)
#define SATISFIED (1)
if(!HAPPY != SATISFIED)
{
printf("Life");
}
else
{
printf("Heaven");
}

getch();
return 0;
}

Output:



Its in Your Hand


Ans: Life

No comments:

Post a Comment