title: Is there a way to pass fixed array as parameter to utility function is Solidity?
body: <p>I have two arrays with fixed lengths which I want to send to a utility function, but it gives the following error since arrays length are different.</p>
  <pre><code>TypeError: Invalid type for argument in function call. Invalid implicit conversion from string storage ref[2] storage ref to string storage ref[] storage pointer requested.
  </code></pre>
  <p>Is there a way to make a utility function that will take fixed arrays with arbitrary lengths?</p>
  <p>Full code snippet</p>
  <pre><code>contract test {
      string[2] internal list1 = [&quot;str1&quot;, &quot;str2&quot;];
      string[3] internal list2 = [&quot;str3&quot;, &quot;str4&quot;, &quot;str5&quot;];
  
      function entryPoint() public view returns (uint256) {
          return utilityFunction(list1, list2);
      }
      
      function utilityFunction(string[] storage _list1, string[] storage _list2) internal pure returns (uint256 result) {
          // some logic here
      }
  }
  </code></pre>