Skip to content

Instantly share code, notes, and snippets.

@danielsaad
Created July 4, 2017 00:45
Show Gist options
  • Save danielsaad/18466ed43e4182d8efa373e1d896029b to your computer and use it in GitHub Desktop.
Save danielsaad/18466ed43e4182d8efa373e1d896029b to your computer and use it in GitHub Desktop.
int j;
void* aux,*tmp;
tmp = vet[i];
for(j=i;j<tam-1;j++){
aux = vet[j+1];
vet[j+1] = tmp;
tmp = aux;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment