初始化一个大小为n所有值都为0的数组

int a[n] = {0};
原文地址:https://www.cnblogs.com/ymjyqsx/p/6896535.html