QuestionQ255

VerifiedFunctions and Exceptions

What is the expected output of this code?

Question Image

Explanation

Supplying y=2 overrides only y; x retains its default value of 2. The returned product is therefore 2 * 2, which prints 4.

Community Discussion

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