CP I/O Q44

0. The following 'c' program
main()
{
unsigned int m[]={0.01,0.02,0.04,0.08,0.10,0.20,0.40,0.80};
unsigned char n,i;
scanf("%d",&n);
for(i=0;i<=7;i++)
if(n&m[i])
printf("\nyes");
}

Cancel reply

Your email address will not be published. Required fields are marked *


Cancel reply

Your email address will not be published. Required fields are marked *