Friday, March 5, 2010

53

int main()
{
int a=13;
if((a=a--<<4>>++a))
printf("\n%d ",a);
else
printf("\n %d",a);
return 0;
}

Output


0
Logic
To understand the logic of this program read this tutorials
Shifting Tutorial
Pre &post increment
post increment
assignment operation as condition

0 comments:

Post a Comment