write a program in c language to implement quick sort using pointers