Top baner Big

Your Ad Here

Top Banner

Your Ad Here

Saturday, November 22, 2008

Bitwise Operation

/*Program : Bitwise Operation
Programmer ::fizmhd(MEA) www.mdown.co.cc*/

#include

int main()
{
int n,i=0;
scanf("%d",&n);
while(n!=0)
{
if((1&n)!=0)
i++;
n>>1;
}
printf("%d",i);
}

No comments:

Easy Hits

EasyHits4U.com - Your Free Traffic Exchange - 1:1 Exchange Ratio, 5-Tier Referral Program. FREE Advertising!

Bottom Square