void bin(int i)
{
	int j=0;
    if(i!=0)
	{
	  j=i;
	  bin(i>>1);
	  printf(" %d ",j&0x01);
    }
}
1
Contributor
0
Replies
2
Views
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.