tu rassembles d'abord les tableaux en un seul et ensuite ti tri avec qsort
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
int compar2int( const void *a, const void *b );
int main()
{
int tab1[] = { 445, 545 ,56, 5,5 ,56 ,55 ,8 };
int tab2[] = { 7, 87, 78, 846, 5, 56, 8484 };
int *tab;
size_t size, size1, size2, i;
size1 = sizeof tab1 / sizeof *tab1;
size2 = sizeof tab2 / sizeof *tab2;
size = size1 + size2;
tab = malloc( size * sizeof(int) );
memcpy( tab, tab1, sizeof tab1 );
memcpy( tab + size1, tab2, sizeof tab2);
qsort( tab, size, sizeof(int), compar2int );
for( i = 0; i < size; i++ )
{
printf( "%d\n", tab[i] );
}
free( tab );
}
int compar2int( const void *a, const void *b )
{int ia *(int *)a, ib *(int *)b;
return ia > ib;
}