用for循环赋值
int a[L]; for(int i = 0;i<L;i++) { a[i] = 0; }
用memset函数
memset(a,0,sizeof(a));
用{0}
a[10] = {0};