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:
if (m > 0)
{fun(m);
System.out.print(k + " ");
What is the output when the statement fun(9); is run?
A. 1001
B. 1101
C. 1011
D. 0101
E. 1010


Exit 5

Thông tin

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

Image metadata

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

Share this media

Back
Bên trên Bottom