logo

Crowdly

Browser

Add to Chrome

What does this compute? ------------------------------------- int fun(int n)...

✅ The verified answer to this question is available below. Our community-reviewed solutions help you understand the material better.

What does this compute?

-------------------------------------

int fun(int n){

   if(n == 0) return 0;

   return n + fun(n-1);

}

More questions like this

Want instant access to all verified answers on moodle.medtech.tn?

Get Unlimited Answers To Exam Questions - Install Crowdly Extension Now!

Browser

Add to Chrome