February 2022
Intermediate to advanced
140 pages
2h 28m
English
| Puzzle 20 | Hello, Bonjour |
| | fn main() { |
| | let hello = || println!("Hello World"); |
| | let hello = || println!("Bonjour le monde"); |
| | hello(); |
| | } |
Guess the Output | |
|---|---|
|
|
Try to guess what the output is before moving to the next page. |
The program will display the following output:
| | Bonjour le monde |
In Puzzle 16, Double or Nothing, you saw that you cannot shadow functions with identical names—even if the parameter ...
Read now
Unlock full access