//int arr[10] = { 1,2,3,4,5,6,7,8,9,10 };
//int arr[] = { 1,2,3,4,5,6,7,8,9,10 };
//int arr[10] = { 1,2,3,4,5 }; //1,2,3,4,5 ,0,0,0,0,0
//int arr[10] = { 0 };//0,0,0,0,0,0,0,0,0,0
//int arr[10] = { 1 };//1,0,0,0,0,0,0,0,0,0
int arr[i]; 注:数组元素必须是常量 常量表达式
数组个数不能通过键盘输入去设置
数组下标不能越界,会乱码