-
-
Save parzibyte/a8386d7a988e8381b40c1a0286851907 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Intercambiar | |
memcpy(&temporal, &personas[indiceActual], sizeof(struct persona)); | |
memcpy(&personas[indiceActual], &personas[indiceSiguienteElemento], sizeof(struct persona)); | |
memcpy(&personas[indiceSiguienteElemento], &temporal, sizeof(struct persona)); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment