Solved

Given the Following Function Definition

Question 33

Multiple Choice

Given the following function definition
Void shiftint& a, int&b)
{
A=b;
B=a;
}
What is the output after the following function call?
Int first=0, second=10;
Shiftfirst, second) ;
Cout << first <<" "<< second << endl;


A) 0 10
B) 10 0
C) 0 0
D) 10 10

Correct Answer:

verifed

Verified

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

Related Questions