Given the following function definition

void shift(int& a, int&b)
{
a=b;
b=a;
}

What is the output after the following function call?
int first=0, second=10;
shift(first, second);
cout << first <<" "<< second << endl;
a. 0 10
b. 10 0
c. 0 0
d. 10 10

d. 10 10

Computer Science & Information Technology

You might also like to view...

The ________ task pane provides online dictionaries, resources, images, articles, and related websites

Fill in the blank(s) with correct word

Computer Science & Information Technology

When working within large computer networks, which of the following is the disadvantage of using NETBEUI over TCP/IP? (Select TWO).

A. NETBEUI is designed to be used on small size LANs. B. NETBEUI is unavailable on non-Windows operating systems. C. NETBEUI can only be used on pre-Windows NT networks. D. NETBEUI is not a routable protocol. E. NETBEUI can only be used with DHCP

Computer Science & Information Technology