title: Pointer to character array output
body: <p>When we declare a pointer to any integer say we declare it like</p>
  <pre><code>int i=5;
  int *p=&amp;i;
  </code></pre>
  <p>We use <code>*p</code> to get the value 5 and if we want the address we use <code>p</code> without asterisk sign to get the address. But in case of character array, when we say</p>
  <pre><code>char *str=&quot;HELLO&quot;;
  </code></pre>
  <p>We simply use <code>str</code> to get <code>&quot;HELLO&quot;</code> as output in printf function. Like this,</p>
  <pre><code>printf(&quot;%s&quot;,str);
  </code></pre>
  <p>Here we used <code>str</code> without asterisk.</p>
  <p>Why aren't we getting an address and instead getting &quot;HELLO&quot; as output here while we get address in case of pointers to integers when we use the pointer variable without asterisk?</p>