Skip to main content
2 of 5
deleted 2 characters in body
luser droog
  • 4.9k
  • 2
  • 36
  • 61

C 83 77

n,x;main(){for(;x<4;x++){for(n=0;n<16;)putchar(49-!(n++&(1<<x)));puts("");}}

Pretty straightforward.

n,x;
main(){
    for(;x<4;x++){
        for(n=0;n<16;)
            putchar(49-!(n++&(1<<x)));
        puts("");
    }
}
luser droog
  • 4.9k
  • 2
  • 36
  • 61