title: Return string array from function in C++
body: <p>I am having problem handling string array in C++.I tried below two methods.Still
       not able to resolve the problem...Here it goes :
          When I use :</p>
  
  <pre><code>string* fun(string* a,string*b) 
  {
      string c[];
      return c; /* c is string array type*/ 
  } 
  </code></pre>
  
  <p>it returns first string stored in string array c.I want whole  string array to be returned.
  When I used:</p>
  
  <pre><code>vector&lt;string&gt; fun(vector&lt;string&gt; a,vector&lt;string&gt; b){
      vector&lt;string&gt; c;
      return c;
  }
  </code></pre>
  
  <p>still,i got some errors.<br>
   can you help me know where is the problem in both cases.
      What  modifications are required to obtain the desired result..
        How can I handle string array in C++.
       Thanx in advance !!</p>