struct nodo *obtenerApuntadorANumero(int numeroBuscado) { | |
struct nodo *temporal = superior; | |
while (temporal != NULL) { | |
if (temporal->numero == numeroBuscado) { | |
return temporal; | |
} | |
temporal = temporal->siguiente; | |
} | |
return NULL; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment