#include
int removerepeated(int size,int a[]);
void sort(int size,int a[]);
main(){
int i,size1,size2,size,j=0,k,intersectionsize;
printf("Enter size of an array1
");
scanf("%d",&size1);
printf("Enter size of an array2
");
scanf("%d",&size2);
int a[size1],b[size2],uni[size1+size2];
if(size1size2){
intersectionsize=size2;
}else{
intersectionsize=size1;
}
int intersection[intersectionsize];
printf("Enter numbers for array 1
");
for(i=0;i