Qualcomm Interview Question

3 Questions of finding problems in a C code, and 1 problem for code mutex with using semaphore only

Interview Answer

Anonymous

Nov 17, 2025

1. Calling to a value to function that will be changed not by pointer. 2. aliment problem- Writing integers to not divided by 4 locations in the memory. 3. Thread racing problem- 2 trades uses the same source without mutex.