Reverse string
#3

Код:
printf("%s", Reverse("Teeeeeeeeeext"));
Thank you, I always seem to forget that strlen returns even the '\0' part, so I didn't add -1
now it works, thanks.
Reply


Messages In This Thread
Reverse string - by XStormiest - 25.08.2018, 17:15
Re: Reverse string - by KieranDyer - 25.08.2018, 17:22
Re: Reverse string - by XStormiest - 25.08.2018, 17:24

Forum Jump:


Users browsing this thread: 1 Guest(s)