Created
November 6, 2012 00:05
-
-
Save cleure/4021277 to your computer and use it in GitHub Desktop.
C - Nonsensical Hello World
This file contains 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> | |
#include <stdint.h> | |
#define CHR(in) ((in) > 25 ? (in)+6 : (in)+65) | |
int main(int argc, char **argv) | |
{ | |
int i; | |
uint64_t data = 976561444569328775LU; | |
for (i = 0; i < 12; i++) { | |
putchar(CHR(data >> (i*5) & 0x1f)); | |
} | |
putchar('\n'); | |
return 0; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment