i need to merge two arrays..assign them to another array..but in the third array..no similar values shall be printed..i badly need help..
a big big thanks in advance..

Your post gave me an adrenaline rush. Honestly!:icon_eek:

im so sorry about that..
i just need it so badly..in just a few hours i need it for a class..but my logic aren't working in the last few weeks..
can you help me please??

and to be clear..i just need a simple c program..just enough for a 1st year student like me..Ü


void MERGE(int first[],int second[]);
int array_first[5],array_second[5];
int i,j;

void main()
printf("\n\nenter first 5 values:\n");
   {for (i=0;i<5;i++)

printf("enter second 5 values:\n");
   {for (j=0;j<5;j++)

printf("first set:");
for (i=0;i<5;i++)

printf("\nsecond set:");
for (j=0;j<5;j++)
MERGE (array_first,array_second);


void MERGE(int first[],int second[])

and i need these to be sorted..but i'm fine with the sorting..i just need the ones to be sorted..Ü

im sorry for the disturbance..and for the not-so-clear problem i gave you..