PRF192_-_FA_2024_-_Block_5_-_FE_3249.webp
Utahime97

PRF192_-_FA_2024_-_Block_5_-_FE_3249.webp

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

Share this media

Back
Bên trên Bottom