Pergunta de entrevista da empresa Marvell Technology

C coding of sorting an array and it's explaination