title: Struct initialization in C with error: expected expression
body: <p>I have a struct like this:</p>
  <pre><code>struct foobar {
      int i;
      char *word;
  };
  </code></pre>
  <p>I know this will work:</p>
  <pre><code>struct foobar {
      int i;
      char *word;
  };
  struct foobar three = {3, &quot;three&quot;};
  </code></pre>
  <p>Why doesn't the following work though?</p>
  <pre><code>struct foobar {
      int i;
      char *word;
  } three;
  three = {3, &quot;three&quot;};
  </code></pre>
  <p>It will give the error: <code>expected expression before ‘{’ token</code>.</p>