184) Following is a recursive function for computing the sum of integers from 0 to N.
function sum(N:integer):integer
begin
if N=0 then Sum=0
else
end;
The missing line in the else part is
Answer is:
Sum:=N+Sum(N-1)
Related C Programming MCQ with Answers
Answer is:
Ackermann ′s function
Answer is: