title: compiler error: "Expected ;" error in C struct
body: <p>I'm trying to add a <code>struct</code> to my program using this syntax:</p>
  
  <pre><code>struct foo {
      char bar[] = "baz";
      char qux[] = "abc";
      /* and so on */
  };
  </code></pre>
  
  <p>For some reason, I get an error on each variable declaration within the <code>struct</code> saying that I have to add semicolons, and seems to fall into a kind of loop with this. The suggested syntax would be something like</p>
  
  <pre><code>struct foo {
      char bar[]; =; ;;;;;;/* infinite semicolons */"baz";
  }
  </code></pre>
  
  <p>This is the first time I've had this kind of error; am I really doing something wrong, or is this just an issue with the compiler itself?</p>