Lets write a C program to merge two arrays into third array in alternative position. Example: Expected Output Enter 5…