If three different variables need to be “returned” from a function, how should
the function be designed (without using global variables)?

A. Use a call by value.
B. Extern the variables.
C. Use a call by reference.
D. It is impossible to do this in C++.


C

Computer Science & Information Technology

You might also like to view...

By convention, the name for a Car interface is:

a) InterfaceCar b) ICar c) CarI d) None of the above.

Computer Science & Information Technology

Windows embedded was developed by _____________ to support mobile and consumer appliances.

Fill in the blank(s) with the appropriate word(s).

Computer Science & Information Technology

Unwanted or junk e-mail is called ________

A) spyware B) adware C) malware D) spam

Computer Science & Information Technology

Compute the product of the three integers contained in variables x, y and z, and store the result in the int variable result.

Write declarations, statements or comments that accomplish each of the tasks.

Computer Science & Information Technology