#include void troca(int *x, int *y) { int t = *x; *x = *y; *y = t; } /* troca */ void imprimeVetor(int *v, int n) { int i; for (i = 0; i < n; i++) printf("%d ", v[i]); printf("\n"); } void insercao(int *v, int n) { int i,j; int t; imprimeVetor(v,1); /* Vetor ordenado com 1 elemento */ for (i=1; i=0 && t