Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created October 30, 2020 01:39
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/15f990abb5352af6bfb10ce3c653e63b to your computer and use it in GitHub Desktop.
Save parzibyte/15f990abb5352af6bfb10ce3c653e63b to your computer and use it in GitHub Desktop.
// Ahora ya tenemos el arreglo. Vamos a ordenarlo.
// La función no devuelve nada, pues modifica al arreglo de manera interna
burbuja(palabras);
// Lo que resta ahora es imprimir, pues ya tenemos el arreglo ordenado
int i;
for (i = 0; i < CANTIDAD_PALABRAS; i++)
{
printf("%s\n", palabras[i]);
}
return 0;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment