PROGRAMMING:Definition of one dimensional array
Analyze the following code to understand the function.
```
#include
int main(){
int a[10],k;
for(k=0; k<10; k++)
a[k]=k;
for(k=0; k<10; k++){
if(k>0)printf(",");
printf("%d",a[k]);
}
return 0;
}
```
###Input example:
```in
```
###Output example:
```out
zero, one, two, three, four, five, six, seven, eight, nine
```
answer:If there is no answer, please comment
```
#include
int main(){
int a[10],k;
for(k=0; k<10; k++)
a[k]=k;
for(k=0; k<10; k++){
if(k>0)printf(",");
printf("%d",a[k]);
}
return 0;
}
```
###Input example:
```in
```
###Output example:
```out
zero, one, two, three, four, five, six, seven, eight, nine
```
answer:If there is no answer, please comment