Skip to content

Instantly share code, notes, and snippets.

/quam.c Secret

Created April 7, 2017 07:19
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save anonymous/fa28475fc1cc16f4014393bb8fd48aad to your computer and use it in GitHub Desktop.
Save anonymous/fa28475fc1cc16f4014393bb8fd48aad to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <stdlib.h>
int main (int argc, char **argv) {
int i = atoi(argv[1]);
char *foo = argv[0] + i;
int d = (foo - argv[0]) % 4;
printf("%d\n", d);
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment