Microsoft interview question

Pass values to this function in C++