CSD201_-_SU_2023_-_Block_5_-_FE_736.webp
Kokushibo91

CSD201_-_SU_2023_-_Block_5_-_FE_736.webp

(Choose 1 answer)
A. fun(1023);
{if (n < 0)
void fun(int n)
{System.out.println("-");
fun(-n);
} else if(n<10)
B. fun(-1023);
System.out.println(n);
else
C. fun(100);
{fun(n/10);
System.out.println(n%10);
}
D. fun(1025);
E. fun(0);
Consider the following function:
Which call will result in the most recursive calls?
antonis ni

Ex 25
  • Like
Reactions: Hoàng Hùng

Thông tin

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

Image metadata

Filename
CSD201_-_SU_2023_-_Block_5_-_FE_736.webp
File size
48.9 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom