Multiple Choice
Given the following function:
int strange(int x,int y)
{
if (x > y)
Return x + y;
else
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:

Verified
Correct Answer:
Verified
Related Questions
Q3: Stream variables (for example, ifstream and ofstream)
Q5: Functions that do not have a return
Q8: In C++,:: is called the _.
Q9: A variable for which memory remains allocated
Q13: Given the following function prototype: double tryMe(double,double);,which
Q15: The _ of an identifier refers to
Q18: A variable or expression listed in a
Q27: The standard header file for the abs(x)function
Q34: If the formal parameter list of a
Q35: A function _ is a function that