<div dir="ltr"><div>I have a following sample function in a file which contains only function definitions like this.<br></div><div><br></div><div>void mul(int x, int y, int& out, <b>int*
arr</b>) {<br></div><div>
       <b> arr[0] = 2;</b><b><br>
      </b></div><div><b>  arr[1] = 1;</b><b><br>
      </b></div><div>  out = x * y;<br>
      }</div><div><div><div><br></div><div>I want to convert it to <br></div><div><div>void mul(int x, int y, int& out) {<br></div><div>  out = x * y;<br>
      }</div></div><div><br></div><div>file contains only above function definitions.<br></div><div><br>-- <br><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div>Thanks & Regards</div>Jeevan </div></div></div></div></div></div></div></div>