Question: These two functions will return the same value?? 1 . int funxyx ( int arr [ ] , int x , int y ) {

These two functions will return the same value??1. int funxyx(int arr[], int x, int y){2. int xv =0 int i =03. do {4. int j = i;5. int vx =06. do {7. yx += arr[j];8. if ( yx ==y){9. if (xy < j - i +1){10. xy = j - i +111.}12.}13. j++;14.} while (j < x)15. i++;16.} while (i < x)17. return xy;18.}1. int funxyx(int arr[], int x, int y)2.{3. int xy =04. for (int i =0 ;i
True or false

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!