-
-
Save parzibyte/b8c9f1fe387b220b6f13a2779e750711 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
void agregarPorPrimeraVez(int numero) { | |
struct nodo *nuevoNodo = malloc(sizeof(struct nodo)); | |
nuevoNodo->numero = numero; | |
nuevoNodo->frecuencia = 1; | |
nuevoNodo->siguiente = superior; | |
superior = nuevoNodo; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment