Skip to content

Instantly share code, notes, and snippets.

Created August 4, 2011 03:44
Show Gist options
  • Save anonymous/1124457 to your computer and use it in GitHub Desktop.
Save anonymous/1124457 to your computer and use it in GitHub Desktop.
#include <stdio.h>
#include <stdint.h>
int main(int l, char **a) {
for(int i = l/2 + 1; --i; a[i] = (void*)(((uintptr_t)a[i]+(uintptr_t)a[l-i])-(uintptr_t)(a[l-i]=a[i])));
for(int i = 1; i < l; ++i)
printf("%s ", a[i]);
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment