Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created October 15, 2020 19:04
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/b8c9f1fe387b220b6f13a2779e750711 to your computer and use it in GitHub Desktop.
Save parzibyte/b8c9f1fe387b220b6f13a2779e750711 to your computer and use it in GitHub Desktop.
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