i wird zerlegt:
Code:
int i=13,j;
for(j=sizeof(i)*8-1;j>=0;--j)
{ 
  char ziffer=i&(1 << j)?'1':'0';
  printf("%c", ziffer); 
}