Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- void atualizaListaConsultas(pconsulta *first, pconsulta *last) {
- pconsulta novo = NULL;
- int num_c;
- novo = malloc(sizeof (CON));
- if (*first == NULL) {
- *first = novo;
- *last = novo;
- } else {
- (*last)->prox = novo;
- novo->prox = NULL;
- *last = novo;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement