PROGRAM TO TRAVERSING OF ARRAY

//TRAVERSING OF ARRAY// #include<stdio.h> #include<conio.h> void main() { int n,i,k,LB,UB,A[10]; clrscr(); printf(“Enter the total number of elements of array:”); scanf(“%d”,&n); printf(“Enter the elements in the array:\n”); for(i=1;i<=n;i++) { printf(“Element number …

PROGRAM TO MERGE TWO ARRAYS

/*PROGRAM TO MERGE TWO ARRAYS*/ #include<conio.h> #include<stdio.h> #define MAX1 10 #define MAX2 5 void main() { int n1=0,n2=0,a[MAX1],b[MAX2],num,i,j; char ch; clrscr(); printf(“Enter elements in the first array:  \n”); do { …