Skip to content

Commit 86ea76f

Browse files
bernhardmgrubersponce
authored andcommitted
Fix outdated/incompatible exercise description
1 parent f1ba430 commit 86ea76f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

code/functions/README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,4 +22,6 @@ Try passing by copy and passing by reference, see the difference.
2222

2323
## Step 4
2424

25-
When passing by reference, ensure that your `printFiveCharacters` cannot inadvertently modify the original object. To test its const correctness, try adding something like `argument.data[0] = 'a';` to your print function. Try both with and without const attributes in your print function's signature.
25+
When passing by reference, ensure that your `printFiveCharacters` cannot inadvertently modify the original object.
26+
To test its const correctness, try adding something like `argument.name[0] = 'a';` to your print function.
27+
Try both with and without const attributes in your print function's signature.

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy