What is the output of the following piece of code?
A
50
✓
100
C
74 <
D
Infinite loop
Answer
Correct option: B.
100
(b) Explanation: The fun(fun(n+11)) part of the code keeps executing until the value of n becomes greater than 100, after which n-5 is returned and printed.