title: how to assign a value to a string array?
body: <p>for example</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;stdlib.h&gt;
  #include &lt;string.h&gt;
  
  char substr[10][20];
  
  int main() {
      substr[0] = "abc";
  
      printf("%d", substr[0]);
  }
  </code></pre>
  
  <p>of course above is wrong? how to do it? thanks</p>