...

/

Puzzle 11: Explanation

Puzzle 11: Explanation

Let’s find out how stacks and heaps work in Rust.

Test it out

Hit “Run” to see the code’s output. The answer depends on how we run the program.

Debug mode

Pressing “Run” will cause the program to crash and display an error message:

Access this course and 1400+ top-rated courses and projects.