Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- pacient *cautare(pacient *lista, int nr)
- {
- pacient *l;
- if(lista==NULL)
- return NULL;
- l = lista;
- while (l) {
- if (l->nr_p==nr)
- return l;
- l = l->urm;
- }
- return NULL;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement