Q1: Assuming the definition,
class BasePlusCommissionEmployee : public CommissionEmployee
which of the following is false?
a. The colon ( : ) in the header of the class definition indicates inheritance.
b. The keyword public indicates the type of inheritance.
c. All the public and protected members of class BasePlusCommissionEmployee are
inherited as public and protected members, respectively, into class
CommissionEmployee.
d. CommissionEmployee is the base class and BasePlusCommissionEmployee is the
derived class.
Which of the following is false?
a) Each variable being input in a scanf statement is generally preceded by an &.
b) Each variable being output in a printf statement is generally not preceded by an &.
c) In a printf statement, the comma that separates the format control string from the
expressions to be printed is placed inside the format control string.
d) Calculations can be performed inside printf statements.