- All Exams Instant Download
How many times will the function counter() be executed in the following code?
How many times will the function counter() be executed in the following code?
function counter($start, &$stop)
{
if ($stop> $start)
{
return;
}
counter($start–, ++$stop);
$start= 5;
$stop= 2;
counter($start, $stop);
A . 3
B . 4
C . 5
D . 6
Answer: C
Subscribe
Login
0 Comments
Inline Feedbacks
View all comments