PRF192_-_S6_-_SU_2023_-_FE_452.webp
A

PRF192_-_S6_-_SU_2023_-_FE_452.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++);elseprintf("%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 1

Thông tin

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

Image metadata

Filename
PRF192_-_S6_-_SU_2023_-_FE_452.webp
File size
45.2 KB
Dimensions
1542px x 690px

Share this media

Back
Bên trên Bottom