Kizspy | Question: 9
(Choose 1 answer)
FJOVERFLOW.COM
What is the result displayed on the screen of the following program?
#include <stdio.h>
int main(void)
{
int a = {1, 2, 3, 5, 6, 7};
for (int i = 0; i < 6; ++i)
printf("%3d", a[i]/2);
return 0;
A. 0 1 1 2 3 3
B. 0.5 1.0 1.5 2.5 3.0 3.5
C. 1 1 2 3 34
D. 0 1 1 2 23