Answer:
B. 1 6 3
Explanation:
Given function definition for calc:
void calc (int a, int& b)
{
int c;
c = a + 2;
a = a * 3;
b = c + a;
}
Function invocation:
x = 1;
y = 2;
z = 3;
calc(x, y);
cout << x << " " << y << " " << z << endl;
- Since x is passed by value, its value remains 1.
- y is passed by reference to the function calc(x,y);
Tracing the function execution:
c=3
a=3
b=c+a = 6;
But b actually corresponds to y. So y=6 after function call.
- Since z is not involved in function call, its value remain 3.
So output: 1 6 3
You just hold on the slide you want to move and move it to the second slide.
<span>Disk Defragmenter,
is a windows utility that rearranges the records and unused space on the PC's hard
disk so that the operating system accesses data more rapidly and projects run
quicker. Disk Defragmenter keeps running on a timetable, yet you can likewise
break down and defragment your disk and drives manually.</span>
Answer:
The answer should be optics...
Explanation: