Qualcomm interview question

c/c++ questions