PRF192_-_FE_-_SU_2023_429.webp
Vân Anh1

PRF192_-_FE_-_SU_2023_429.webp

Answer (Choose 1 answer)
What is the output when the sample code below is executed?
int i=1;
while(i<=10)if(i%2 == 1)
printf("%d ",i++);else
printf("%d ",i--);
A. 1
B. 1 3 5 7 9
C. 1 2 4 6 8 10
D. 1212... (infinite loop)
E. compiler error
Exit 15

Thông tin

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

Image metadata

Filename
PRF192_-_FE_-_SU_2023_429.webp
File size
59.9 KB
Dimensions
1926px x 906px

Share this media

Back
Bên trên Bottom