Cognizant interview question

Bubble sort program in C