sum of a matrix elements in c recursive function code example
Example: c program to find sum of array elements using recursion
int sum(int arr[], int start, int len)
{
// Recursion base condition
if(start >= len)
return 0;
return (arr[start] + sum(arr, start + 1, len));