Intel Corporation interview question

inverse a string without a temporary variable

Interview Answers

Anonymous

24 May 2014

Hi, I also have interview in Portland...Can you help me?

Anonymous

6 May 2014

Initialize a character array, read the string into the array variable. Calculate string length. Now using a iterative solution, swap first and last characters, then second and second last characters and so on.

1