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

Carbon bonding is almost entirely _____.
What is 5 thousand + 7 thousand in standard form
To the nearest 10 thousand the population of vermont was estimated to be about 620,000 in 2008. what might have been the exact population of vermont in 2008?
What number makes this sentence true 4,735 <______ 4,820 a. 4,396 b. 4,758 c. 4,832 d. 4,915
Which of the following describes why wetlands are important to the water cycle?
If 800,000 people attended a concert, what is the largest and smallest number of people that could be there when rounded to the nearest hundred thousand
Isaac drinks 8 glasses of water each day. He's says he will drink 2920 glasses of water in a year that has 365 days. Is the exact answer reasonable
What is 5/6 of 18 pencils
Which form of characterization is most often used in drama? setting-based characterization motive-driven characterization direct characterization indirect chara
The Third French Republic was NOT established until four years after the Franco-Prussian War ended because __________.