Lets write a C program to divide or split even and odd elements of an array into two separate arrays.…