Microsoft Interview Question

Display the first 3 character of a word(string)

Interview Answers

Anonymous

Jul 13, 2010

I used substring from 0 to 3rd character.

Anonymous

Nov 8, 2010

That would cause a runtime error of the string was 0, 1, or 2 characters long...