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