Qualcomm Interview Question

write a bubble sort in C