title: warning: deprecated conversion from string constant to 'char*''
body: <p>I have declared the string array in my code as follows.</p>
  
  <pre><code>char *arr[] ={ 
  "xyz",
  "abc",
  "pqr",
  NULL
  };
  </code></pre>
  
  <p>When compile then got following warning</p>
  
  <pre><code>warning: deprecated conversion from string constant to 'char*'' 
  </code></pre>
  
  <p>i know that "xyz" and other string literal are const char and my array is char* so have resolve it by declaring my array const char* arr but i loss the control to point this array in another pointer.
  So to resolve above issue have declared array as follows</p>
  
  <pre><code> char *arr[] ={ 
      (char *)"xyz",
      (char *)"abc",
      (char *)"pqr",
      NULL
      };
  </code></pre>
  
  <p>But this type of declaration not fair when need large array (more then 100 string array).
  So any one have idea to resolve it by another way.</p>