title: Initialize an array in C error "expected expression before ‘]’ token"
body: <p>When I declare an array like this.</p>
  
  <pre><code>int array[4] = {1, 2, 3, 4};
  // do some calculation here with array.
  .................
  // After that, I set the elements of array as '0' here.
  memset(array, 0, sizeof array);
  
  // Right now the elements in array are all '0'.
  // I want to initialize the array with different elements.
   array[] = {1, 2, 3, 4};   // I got error here:
   // error: expected expression before ‘{’ token
   // Even I change to array[] = {1, 2, 3, 4}, it still give me same.
  </code></pre>
  
  <p>Could everyone tell me why I cannot use the same array to re-initialize it like Java. I already clear the array elements as '0' here.</p>
  
  <p>Do I have to name a different array from fresh and initialize it?
  I cannot use the previous defined array later?</p>
  
  <p>Thank you</p>