Infosys interview question

Write a program for bubble sort in C++?