PRF192_-_FA_2024_-_FE_2937.webp
M

PRF192_-_FA_2024_-_FE_2937.webp

Kizspy | Question: 17
(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
morning_sun
Ngày thêm
Lượt xem
3,436
Lượt bình luận
8
Rating
0.00 star(s) 0 đánh giá

Share this media

Back
Bên trên Bottom