C string, char and pointers
<p>I have a misunderstanding with respect to the following concepts in C. </p>

<p>To define a string you can do one of the following AFAIK :</p>

<p>define an array of chars like this one here :</p>

<pre><code>char array[];
</code></pre>

<p>Or define a string to a char array. Let us say like this one :</p>

<pre><code>char * str,
</code></pre>

<p>Why do I see some books using the pointers method while others use the normal definitions ?</p>