Microsoft interview question

Very simple "cracking code interview" questions.