Puzzle 16: Double or Nothing

Let’s solve this function overloading 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.