fork download
  1. #include <stdio.h>
  2.  
  3. int main()
  4. {
  5. int i;
  6. int value = 12345;
  7. for(i=31;i>=0;i--)
  8. printf("%d",(value>>i)&1);
  9. return 0;
  10. }
  11.  
Success #stdin #stdout 0.01s 1720KB
stdin
Standard input is empty
stdout
00000000000000000011000000111001