Q23.webp
Nanami871

Q23.webp

Question: 23
(Choose 1 answer)
What is the output when the sample code below is executed?
#include <stdio.h>
int main()
int i,j,result=0;
for(i=3;i<=5;i++){
for(j=5;j>i;j--)
result+=j;
printf("%d", result);
return 0;
}
A. 14
B. 15
C. 16
D. 20

Thông tin

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

Share this media

Back
Bên trên Bottom