title: how to connect/link words in an string array using one loop?
body: <p>i have an array with n words .. i want to attach the strings togther ..
  for example if the array have the following strings: "hello" "world" "stack77"
  i want the function to return :"helloworldstach7 " any help how i can do something like this without Recursion and with one loop and i can only use from the string library the two functions strcpy and strlen !!
  any ideas ! thanks
  I NEED TO USE ONE LOOP ONLY !</p>
  
  <pre><code>char *connect(char**words,int n){
  int i=0;
      while(words){
      strcpy(words+i,
  </code></pre>
  
  <p>i saw many many solutions but they all use other string functions , where i only want to use strcpy and strlen .</p>