title: how do i fill between the brackets of my array, can i use strlen?
body: <p>need string lenght for my scanf , how do i determine what number to put betwen [], can use A[strlen].</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;conio.h&gt;
  #include &lt;string.h&gt;
  
  int main()
  {
      char A[];
      printf("enter a string");
      scanf("%s", A);
      printf("%s", A);
      getch();
  
  }
  </code></pre>