We wish to make a constructor for a Bar class that will only initialize two of its data members x and y to -1 and 0, respectively. The constructor we make should:

A. pass in two parameters by value
B. pass in, by value, one struct object with two data members
C. be a default constructor
D. pass in two parameters by const reference

C

Computer Science & Information Technology

You might also like to view...

To run older Windows XP software that might not run properly on Windows 7, you use which feature?

a. User Account Control b. BitLocker To Go c. Action Center d. Windows XP Mode

Computer Science & Information Technology

Why would the display dim on a laptop when the power supply from the electrical outlet is disconnected?

A. The laptop displays require a 60 hertz alternating power source. B. Incorrect security settings on the laptop. C. The power management settings on the laptop. D. The laptop cannot use full brightness on battery power.

Computer Science & Information Technology