int a[5] = {5,9,18,32,40};
int b[5] = {6,8,10,15,30};
int c[10] ={0};
for (int i = 0; i < 5; i++) {
c[i] = a[i];
}
for (int i = 0; i < 5; i++) {
c[i+5] = b[i];
#include
#include
#include
#define MAX 100 //define the maxium of array
/***************************************************************************************************
** Function prototype: