Question d’entretien chez I am Student

Write a program to split the array.