1.

Following is a recursive function for computing the sum of integers from 0 to N. The missing line in the else part is

A. Sum:=N+Sum(N)
B. Sum:=N+Sum(N-1)
C. Sum:=(N-1)+Sum(N+1)
D. Sum:=(N-1)+Sum(N-1)
Answer» C. Sum:=(N-1)+Sum(N+1)


Discussion

No Comment Found