21. If you want to override constructor default values for an object you are instantiating, you must also override

A. all other parameters to that constructor
B. all parameters to the left of that value
C. all parameters to the right of that value
D. no other parameters to that constructor


Correct Answer:  B. all parameters to the left of that value

22. An unsigned double type of data

A. can have only positive values
B. does not exist
C. is always less than 1010
D. can have only negative values
E. None of the above


Correct Answer:  A. can have only positive values

23. The extraction operator >> is a(n) _____

A. overloaded function
B. C++ class
C. C++ object
D. static reference variables


Correct Answer:  A. overloaded function

24. Modules in C++ programs are

A. functions
B. procedures
C. subroutines
D. miniprograms


Correct Answer:  A. functions

25. The return type for all destructors is

A. the class
B. void
C. the same as the first data in the class
D. None


Correct Answer:  D. None

Comments

No comments yet. Why don’t you start the discussion?

    Leave a Reply

    Your email address will not be published. Required fields are marked *

    twenty + fifteen =