beginner trying to print out a recursive function in main
Hello, I am just practicing some recursion and I am having trouble with printing out a recursive function in main. Here is what I have:
I am getting an error that says undefined reference to 'recursive_SumSquares'
// This function adds the squares 4, 5 = 4*4 + 5*5 recursiveley
int recursive_sumSquares(int m, int n)
if (m < n)
return m*m + recursive_SumSquares(m+1, n);
printf("%d", recursive_sumSquares(4, 7));