Skip to content

Instantly share code, notes, and snippets.

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