Solace interview question

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

Interview Answer

Anonymous

24 Jan 2017

Loop through, store letter temporarily and switch both.