Micron Technology interview question

reverse int array in C++.