Convert short int[] to char*
<p>How can I convert short int[] to char*?</p>

<pre><code>short int test[4000];
char* test2;
</code></pre>

<p>I tried this:</p>

<pre><code>test2 = (char*)test[4000]
</code></pre>

<p>Error--> PTR is not valid</p>
