Sollicitatievraag bij Solace

How to reverse a string (in whatever language). They provided the header: void reverse(char[] string, int length)

Antwoord op sollicitatievraag

Anoniem

24 jan 2017

Loop through, store letter temporarily and switch both.