title: How to use getchar() with string?
body: <p>I try to get a text attached to the array but this does not seem to work when I try to use <code>printf</code> after. It does print a blank space.</p>
  
  <pre><code>char text[10][30];      // 10 is text count and 30 text length
  printf("Enter text: ");
  text[0]=getchar();
  </code></pre>