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

What properties of water are related to Oxidation?
Solve (image attached)
Can I size down in crocs?
what is the molarity of 1 mole of Ba+ in 2 L of water
pleaseeee help me solve for X.
Which field is required when importing vendors
What is the chemical test for water
Jose explained to his friend, Emily, that when you multiply matrix A by matrix B, you get the same result as if you multiplied matrix B by matrix A. Is he corre
find the total area of cardboard used in making a matchbox, complete with the sliding portion, 4cm long, 2.5cm wide, and 1.2cm deep (ignore the thickness of the
what does “the good life is built with good relationships” mean to you?