Hello World!
i wrote this code for fliping the array , but it doesn't work ...
why can anyone say me ? what i did wrong?
array and i,n variable are already global declared.
void exb(void)
{
int aux;
for(i=0;i<(n-1)/2;i++)
{
aux=x[i];
x[i]=x[n-1-i];
x[n-1-i]=aux;
}
}
thanks :)