Created
April 18, 2015 03:03
-
-
Save jamesandariese/8faa3e4ae638b4f80f1e to your computer and use it in GitHub Desktop.
dense fizzbuzz in C with no branches
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() { | |
for (int i=1;;i++) printf("FizzBuzz\n\0 Buzz\n\0 Fizz\n\0 %d\n"+(0-i%3&16|0-i%5&32),i); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I think this can probably be made a lot shorter.