int数组如何初始化数组最后的数?求解
int a[100] = {};
最后的数不是99吗?int a[100]={0};a[99]=5;//比如最后这个数初始化为5
这样
int a[100] = {0};