title: How to combine three char to one
body: <p>I had three char inside the array , which contain X1 X2 and X3</p>
  
  <pre><code>char array[3]={X1,X2,X3}
  </code></pre>
  
  <p>I want to combine three data which inside the array to one char</p>
  
  <pre><code>strcat(array[0]," ");
  strcat(array[0],array[1]);
  strcat(array[0]," ");
  strcat(array[0],array[2]);
  
  printf("%s",array[0])
  </code></pre>
  
  <p>I expect to get the result like this "X1 X2 X3"</p>