Qualcomm Interview Question

Some question from the "Geeks for Geeks" - C quiz.