Qualcomm interview question

Some puzzles and basic C questions and about academic projects