This topic contains 0 replies, has 0 voices, and was last updated by  EduGorilla 1 year, 11 months ago.

  • Author
    Posts
  • #742914 Reply
     EduGorilla 
    Keymaster
    Select Question Language :


    What does the function Mystery (x, y) return?

    Int Mystery (int x, int y)
    {
    if (y = = 0) return (x);
    else if (x < y) return (Mystery (y, x));
    else return (Mystery (y, x %y));
    }

    Options :-

    1. maximum of x and y
    2. LCM of x and y
    3. minimum of x and y
    4. GCD of x and y
    Post your Training /Course Enquiry
    Are You looking institutes / coaching center for
    • IIT-JEE, NEET, CAT
    • Bank PO, SSC, Railways
    • Study Abroad
    Select your Training / Study category
Reply To: What does the function Mystery (x, y) return?Int Mystery (int x, int y){if (y = = 0) return (x);else….
Your information:




GET UPTO 50%    OFF!
Verify Yourself




Log in with your credentials

or    

Forgot your details?

Create Account