PRF192_-_SU_2024_-_Block_5_-_FE_2675.webp
R

PRF192_-_SU_2024_-_Block_5_-_FE_2675.webp

Kizspy | Question: 22
(Choose 1 answer)
What will be the output of the following C code?
#include <stdio.h>void main()
{
int total=0;
for(int s=1; s<15; s++)
total=total+s;printf("%d", total);
}
A. 105
B. 150
C. 120
D. 210

Thông tin

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

Share this media

Back
Bên trên Bottom