Question: What does the following recursive function do, assuming that $x and $y are initially positive integers? function func($x,$y) { if($x <=0) { return $y; } else { return (1 +func($x-1,$y)); } }
A
B
C
D
it just returns $y
B
it just returns $x
C
it computes and returns $x+$y
D
it computes and returns $x*$y
Note: Not available