Skip to content
Snippets Groups Projects
Commit eb982236 authored by paul.albuquer's avatar paul.albuquer
Browse files

Update cours_12.md

parent 76fe2924
No related branches found
No related tags found
No related merge requests found
......@@ -108,11 +108,10 @@ void queue_enqueue(queue *fa, int val) {
elmt->next = NULL;
if (queue_is_empty(*fa)) {
fa->head = elmt;
fa->tail = elmt;
} else {
fa->tail->next = elmt;
fa->tail = elmt;
fa->tail->next = elmt;
}
fa->tail = elmt;
}
```
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment