QuestionQ45

VerifiedFunctions and Exceptions

What output is expected from the following code?

Question Image

Explanation

The nested calls are evaluated from the inside out: adding 3 to 1 produces 4, multiplying that value by 2 produces 8, and the final function returns 8 unchanged.

Community Discussion

No comments yet. Be the first to start the discussion!