Consider the following function:
What value does exec(n) return?
(Either write a number, or write "infinite recursion".)
ANS
By tracing this recursive function, you should find that the result is the sum of the integers from 1 to n.