KPIT Technologies interview question

Bubble sort,pointers