Pergunta de entrevista da empresa Microsoft

Display the first 3 character of a word(string)

Respostas da entrevista

Sigiloso

13 de jul. de 2010

I used substring from 0 to 3rd character.

Sigiloso

8 de nov. de 2010

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