diff --git a/Array/Combine_two_arrays.c b/Array/Combine_two_arrays.c new file mode 100644 index 0000000..5b3e91d --- /dev/null +++ b/Array/Combine_two_arrays.c @@ -0,0 +1,34 @@ +#include +void main(){ + int a[20], b[20],c[60],size1,i,size2,size,k,j; + printf("\n enter the size of the first array:"); + scanf("%d",&size1); + printf("\n enter the element of the first array :"); + for(i=0;i +void main(){ + int array[20], b[20],size,i,s; + printf("\n enter the size of the array:"); + scanf("%d",&size); + printf("\n enter the %d element of the array: \n ",size); + for(i=0;i