Qualcomm Interview Question

Simple coding question about C