Skip to content

Instantly share code, notes, and snippets.

@parzibyte

parzibyte/registrar.c Secret

Created Oct 15, 2020
Embed
What would you like to do?
void registrarNumero(int numero) {
struct nodo *apuntador = obtenerApuntadorANumero(numero);
if (apuntador == NULL) {
agregarPorPrimeraVez(numero);
} else {
apuntador->frecuencia++;
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.