Qualcomm Interview Question

question regarding pointers and structures