init a whole array with a specific value: int array[10000]={0}; then each member in this array will have 0 as the value