Solved

Given the Following Function:
Int Strange(int X,int Y)
\quad

Question 10

Multiple Choice

Given the following function:
int strange(int x,int y)
{
\quad if (x > y)
\quad\quad Return x + y;
else
\quad Return x - y;
}
What is the output of the following statement?
Cout << strange(4,5) << endl;


A) -1
B) 1
C) 9
D) 20

Correct Answer:

verifed

Verified

Unlock this answer now
Get Access to more Verified Answers free of charge

Related Questions