A. 2
Explanation:
>> func(2) is evaluated first
2 % 2 = 0, so 1 is return to func() making it func(1)
>> func(1), 1 % 2 is not 0, so else is triggered returning 2
A voting comment increases the vote count for the chosen answer by one.
Upvoting a comment with a selected answer will also increase the vote count towards that answer by one.
So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.
Donny_575
3 weeks, 4 days agoakumo
1 month ago