teresagonzalez9624 teresagonzalez9624
  • 12-04-2024
  • Computers and Technology
contestada

What does fun2() do in general?
{int fun(int x, int y) { if (y == 0) return 0; return (x + fun(x, y-1) ) ; } int fun2(int a, int b) { if (b == 0) return 1; return fun(a, fun2(a, b-1) ) ; }
a) x*y
b) x+x*y
c) xy
d) yx

Respuesta :

Otras preguntas

A small business can thrive, even in a bad economy. True False
13/15 in simplest form
how is the modern era different from the postclassical era?
Mr. Boll can pick a bale of cotton by hand in 5 days. If his son joins him in the work, they can pick a bale in 3 days. How long would the son take to do the jo
During the High Middle Ages in Europe, thousands of trees were cleared to make way for _____.
In order for a driver to graduate from a learner’s license to an operator’s license, how many hours of driving need to be documented? How many nighttime driving
Lana has finished writing her research paper. What should she do next?
A. 1/4 B. 0 C. 2/6 Subtract
What was the outcome of the Korean War? North and South Korea united to become a democracy An initial truce led to a peace treaty that established South Korea
A box of mass 14 kg sits on an inclined surface with an angle of 52degrees. What is the component of the weight of the box along the surface?