46. If you omit any constructor argument when you instantiate an object, you must use default values
A. for all parameters to the constructor
B. for all parameters to the right of the argument
C. for all parameters to the left of the argument
D. for no other parameters
Advertisement
47. The C++ expression p –> val means the same thing as
A. *p.val
B. *(p.val)
C. (*p).vai
D. p.val
Advertisement
48. Which of the following tells C++ to display numbers with zero decimal places?
A. setiosflags(0)
B. setiosflags(zero)
C. setprecision(0)
D. setprecision(zero)
Advertisement
49. Code that has already been tested is said to be _____
A. inherited
B. reusable
C. reliable
D. polymorphic
Advertisement
< PREVIOUS POSTObject Oriented Programming Using C++ - Section 3