Advertisement
GustavoAraujo

String Reverse

Nov 10th, 2013
114
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Pawn 0.16 KB | None | 0 0
  1. stock Reverse(input[], output[])
  2. {
  3.      new i,g;
  4.      for(i = strlen(input)-1,g = 0; i+1 ^ 0; --i, ++g)
  5.          output[g] = input[i];
  6.      return output;
  7. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement