C Program to calculate sum of numbers 1 to N using recursion

Output :