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:

Verified
Correct Answer:
Verified
Related Questions
Q28: What is the output of the following
Q29: A _ is a main program that
Q30: Testing a program with values that are
Q31: A void function can be used in
Q32: It is illegal to call other functions
Q34: Which of the following is a legal
Q35: What is the correct way to call
Q36: A simplified main program used to test
Q37: Call-by-reference should be used<br>A) For all variables<br>B)
Q38: The preconditions) for a function describe:<br>A) What