Browse Source

Merge pull request #371 from zhantolin/patch-4

print -> return, + typo
pull/373/head
LEEDASILVA 5 years ago committed by GitHub
parent
commit
b55d3bdea0
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      subjects/listat.en.md

4
subjects/listat.en.md

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

Loading…
Cancel
Save