Qualcomm interview question

Simple coding question about C