LazyShpee

rev_str "golf"

Nov 27th, 2018
130
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C 0.17 KB | None | 0 0
  1. #include <unistd.h>
  2.  
  3. int main(int c, char *v[])
  4. {
  5.   while (c && (c = v[1][(long)++v[2]]) || write(1, &v[1][(long)--v[2]], !!v[2] * !c));
  6.   return (!write(1, "\n", 1));
  7. }
Advertisement
Add Comment
Please, Sign In to add comment