Created
August 4, 2011 02:36
-
-
Save mjard/1124391 to your computer and use it in GitHub Desktop.
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> | |
int | |
main(int argc, char *argv[]) | |
{ | |
char c[]="wat is this, because this is a lie",*a=&c[0],*b=&c[0]+(sizeof c-1); | |
while(a<--b){*a=*a+*b;*b=*a-*b;*a=*a-*b;a++;} | |
printf("%s\n",c); | |
return 0; | |
} | |
/* | |
[mjard@jard ~]$ gcc -g -Wall -pedantic synx.c | |
[mjard@jard ~]$ ./a.out | |
eil a si siht esuaceb ,siht si taw | |
*/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment