#include <stdio.h>
//数组的使用
int main()
{
int i = 0;
//定义一个整形数组,最多存放10个元素
int arr[10] = {1,2,3,4,5,6,7,8,9,10};
for (i = 0; i < 10; i++)
{
printf("%d ",arr[i]);
}
printf("\n");
return 0;
}
标签:10,arr,int,使用,数组,printf,include
From: https://blog.51cto.com/u_16542475/9639214