title: C variable declarations
body: <pre><code>#include &lt;stdio.h&gt;
  int main(void){
      char c1[], c2[];
      c1 = "hello";
      c2 = "world";
      printf("%s %s", c1, c2);
      return 0;
  }
  </code></pre>
  
  <p>What exactly makes it that I cannot use 'char c1[], c2[]'? I have some knowledge in Java and I find C syntax to be rather familiar with it but clearly somethings do not work. </p>
  
  <p>Is there also any reason why char is declared as char variable[] instead of char[] variable? It seems to make more sense like this (Java notation)</p>