Qualcomm interview question

Digital Design, Basic C