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. Use a call by reference.

Computer Science & Information Technology

You might also like to view...

Which of the following is the physical topology when a hub is used to connect network nodes?

A. bus B. mesh C. ring D. star

Computer Science & Information Technology

One way to perform a _________ is by changing one or more of the input values to see how they affect the calculated results.

A. goal seek B. gunction C. search D. what-if analysis

Computer Science & Information Technology

Lin received 200 new laptops to be issued to company employees. Lin was asked to set them up and distribute them to everyone on a list provided by his supervisor. Lin has completed installing all the software on each computer and is ready to distribute them, but he needs to keep track of who received each laptop. ? How can Lin keep track of all the laptops?

A. Network topology diagram B. Knowledge database C. Inventory management documentation D. Acceptable use documentation

Computer Science & Information Technology

Information warfare is divided into ________ categories.

A. five B. four C. six D. seven

Computer Science & Information Technology