All pastes #276831 Raw Edit

Anonymous

public text v1 · immutable
·published 2006-12-12 19:01 UTC
rendered paste body
#include <stdio.h>


int main (void){


  int i=0;
  char c = 4;

  for (i=0;i<8;i++){

    char test = 1;

    if((test & c) == 1)
      printf("1");
    else 
      printf("0");

    c = c >> 1;

  }

  return 0;
}