title: convert arrayof characters to string
body: <p>I am writing code in c language.</p>
  
  <ol>
  <li><p><code>char a[]={p,r,a,d,e,e,p}</code><br>
  I want to add <code>'0/'</code> at the end to make it string.<br>
  Or is there any method to make it string other than adding null at the end?</p></li>
  <li><p><code>char *a=pradeep;</code><br>
  Convert this to string by adding null at the end</p></li>
  </ol>