Puzzle 18: Mutable Immutables

Let’s solve this mutability puzzle in Rust.

We'll cover the following

Guess the output

Before moving on to the explanation, try to guess the output of the following program. Good luck!

Get hands-on with 1200+ tech skills courses.