PRF192_-_SP_2023_-_RE_-_s_2_122.webp
Vegeta_chan

PRF192_-_SP_2023_-_RE_-_s_2_122.webp

Multiple Choices
Answer (Choose 1 answer)
What is the output when the sample code below is executed?
int i, x=0;
for(i=1; i< 10; ++i)
if(i%2 == 1)
x
= x+i;
else x--;
printf("%d",x);
{
}
A. 20
B. 23
C. 1
D. 21
E. 19

Thông tin

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

Share this media

Back
Bên trên Bottom