Q20.webp
V

Q20.webp

Question: 20
(Choose 1 answer)
Consider the following function:
int fun(int n)
{if (n<0)
return(fun(-n));
else if(n<5)
return(2);
else
}
return(n*fun(n/2));
Which call will result in the most recursive calls?
A. fun(1014);
B. fun(100);
C. fun(0);
D. fun(1012);
E. fun(-1012);

Thông tin

Category
CSD201
Thêm bởi
Văn Bình
Ngày thêm
Lượt xem
1,187
Lượt bình luận
4
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom