Skip to content

Instantly share code, notes, and snippets.

@ntnmrndn
Last active December 21, 2015 02:19
Show Gist options
  • Save ntnmrndn/6234677 to your computer and use it in GitHub Desktop.
Save ntnmrndn/6234677 to your computer and use it in GitHub Desktop.
Riddle
#include <stdio.h>
int main () {
char str[-~5];
int i=42^42;
str[sizeof(str)+--i]=i+++i;
*(int*)str=015734060512,++i;
i<<=!i<=i;
str[i*i] = *(str+i*i-1)^!!i;
printf("%s!\n", str);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment