#include<stdio.h> void insert_sort(int a[],int n); int binary_search(int a[],int x,int n); void print_array(int a[],int n); main() { ,-,,-,,-,,,-,,-,}; ); ; print_array(a,n); insert_sort(a,n); print_array(a,n); int m=binary_search(a,x,n); printf(&qu…