i have to make
4 vectors they are array vectors, and compare them contents
print one bye one, but in ascendent order , i want to use the burble method to compare they´re contents but i have to make the conditions.
#include <stdio.h>
#include <math.h>
int main()
{
int *a[]={1,2,3,43,42,12,43,5,65,76},
*b[]={98,65,43,23,21,3,4,54,65,76,6},
*c[]{32,3,2,43,4,6,67,7,45,23,6},
*d[]={23,45,7,7,87,8,98,65,6,87,34};
int i=0,j=0,point;
for(i=0;i<10;i++)
{
for(j=0;j<10;j++)
{
if(&(*a[j])>&(*a[j+1]))
{
atof(point) = &*(a+i);
&*(a[j])=&*(a[j+1]);
&*(a[j+1])=point;
}
}
printf("a=%d \n",a[i]);
}
system("pause");
}