Qualcomm Interview Question

1. Write a code on the white board and ask you what this function is trying to achieve. In my case, it is a function to reverse an array. 2. Give you a print out source code segment and ask you to find the errors in the code. Such as missing error handle, pointer, and memory leak.