PRF192_-_SP_2025_-_Block_5_-_1_3841.webp
T

PRF192_-_SP_2025_-_Block_5_-_1_3841.webp

Kizspy Question: 38
(Choose 1 answer)
What is the results will be displayed on the screen after executing the following code:
int a = {1,2,3,4};
int i, s;
for (i=0; i<4; ++i)
s += a[i];
printf("%f", s/4.0);
A. 0.000000
B. 2.000000
C. 2.500000
D. Garbage value

Thông tin

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

Share this media

Back
Bên trên Bottom