PRF192_-_SU_2024_-_FE_2315.webp
hoangha297

PRF192_-_SU_2024_-_FE_2315.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
  • Like
Reactions: Tungtot1233

Thông tin

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

Share this media

Back
Bên trên Bottom