单选题:Determine the displaying of the following program:
Determine the displaying of the following program:
```
#include
int main()
{
int a[5],i;
for(i=0; i<5; i++)
{
a[i]=9*i%5;
printf("%2d",a[i]);
}
return 0;
}
```
@[A](1)
A. 0 4 3 2 1
B. 1 5 4 3 2
C. 0 1 2 3 4
D. 0 2 1 4 3
A.0 4 3 2 1
B.1 5 4 3 2
C.0 1 2 3 4
D.0 2 1 4 3
答案:A
```
#include
int main()
{
int a[5],i;
for(i=0; i<5; i++)
{
a[i]=9*i%5;
printf("%2d",a[i]);
}
return 0;
}
```
@[A](1)
A. 0 4 3 2 1
B. 1 5 4 3 2
C. 0 1 2 3 4
D. 0 2 1 4 3
A.0 4 3 2 1
B.1 5 4 3 2
C.0 1 2 3 4
D.0 2 1 4 3
答案:A