PRF192_-_SP_2023_-_RE_-_s_1_121.webp
I

PRF192_-_SP_2023_-_RE_-_s_1_121.webp

Multiple Choices
Answer (Choose 1 answer)
What is the output when the sample code below is executed?
int calc(int x) { x *= x;
return 2*x;
}
main() { int x = 2:
x = calc(x);printf("%d", x);calc(x);printf("%d", x);
}
A. 416
B. 464
C. 864
D. 88
E. 8512

Thông tin

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

Share this media

Back
Bên trên Bottom