-->
当前位置:首页 > 题库

PROGRAMMING:Definition of one dimensional array

Luz5年前 (2021-05-10)题库436
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