CSD201_-_1_-_FA_2023_-_FE_1030.webp
H

CSD201_-_1_-_FA_2023_-_FE_1030.webp

(Choose 1 answer)
void fun(int n)
Consider the following function:
{int m = n/2;
int k = n%2;
System.out.print(k + " ");
if (m > 0)
{fun(m);
What is the output when the statement fun(13); is run?
A. 1001
B. 1011
C. 1100
D. 1101


Exit (18

Thông tin

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

Image metadata

Filename
CSD201_-_1_-_FA_2023_-_FE_1030.webp
File size
45.6 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom