title: turn array of strings into a string in C
body: <p>I am probably missing a subtlety for this question, as I couldn't find relevant results on the internet while I thought it would be a common one.</p>
  
  <p>Anyway, here is my problem:</p>
  
  <p>I have an array of strings, which I want to concatenate into a single string, from char** to char*.</p>
  
  <p>Is there any function available for that purpose, or do I have to allocate memory for a new string, and use strcat() in a loop in order to concatenate all of the strings in array one by one?</p>
  
  <p>Thanks in advance!</p>