title: char array length c++ <i'm newcomer>
body: <p>i'm newcomer.
  i need size of input.</p>
  
  <pre><code>#include &lt;iostream&gt;
  
  using namespace std;
  int main()
  {
  
      int a,b,n;
      char c[100];
      cout&lt;&lt;"insert number of adjective :  " ;
      cin&gt;&gt;a;
      for(b=0;b&lt;a;b++)
      {
          cin&gt;&gt;c;
          int length = sizeof(c);
          cout&lt;&lt;length&lt;&lt;endl;
          cout&lt;&lt;c&lt;&lt;endl;
      }
      return 0;
  }
  </code></pre>
  
  <p>please help me for find the size lenght c</p>
  
  <hr>
  
  <p>hamed</p>