docs: Be more accurate with the description of what needs to be returned

This commit is contained in:
estlop 2022-07-18 08:58:03 +01:00 committed by eslopfer
parent bbe0038638
commit 14bff2fbb7
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@
### Instructions
Write a function `ListAt` that takes a pointer to the head of the list `l` and an `int pos` as parameters. This function should return the `NodeL` in the position `pos` of the linked list `l`.
Write a function `ListAt` that takes a pointer to the head of the list `l` and an `int pos` as parameters. This function should return the pointer to the `NodeL` in the position `pos` of the linked list `l`.
- In case of error the function should return `nil`.