From 3e5270333a6678bb6d352f73123b2606ec09ed6f Mon Sep 17 00:00:00 2001 From: zhantolin <52797876+zhantolin@users.noreply.github.com> Date: Tue, 3 Dec 2019 18:25:50 +0600 Subject: [PATCH 1/2] print -> return, + typo --- subjects/listat.en.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/subjects/listat.en.md b/subjects/listat.en.md index b6197ed6b..97cafe249 100644 --- a/subjects/listat.en.md +++ b/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 print `nil`. ### Expected function and structure From 528cce57ef32e5bd9fc4635c56790309092e434e Mon Sep 17 00:00:00 2001 From: zhantolin <52797876+zhantolin@users.noreply.github.com> Date: Tue, 3 Dec 2019 18:42:51 +0600 Subject: [PATCH 2/2] print -> return --- subjects/listat.en.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/subjects/listat.en.md b/subjects/listat.en.md index 97cafe249..a3ecd889b 100644 --- a/subjects/listat.en.md +++ b/subjects/listat.en.md @@ -4,7 +4,7 @@ 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 function should print `nil`. +- In case of error the function should return `nil`. ### Expected function and structure