Qualcomm Interview Question

Question asked for me was - What are struct, functions..? - Multithreathing - What knowledge you hav on OS - Have and array with balls of 3 different color , sort dem using less number of iterations - Whats is Semaphore - TCP/IP