Q4: Parameterized stream manipulator setfill specifies the fill character that’s displayed
when an output is displayed in a field wider than the number of characters or digits in
the output. The effect of setfill applies:
a. Only to the current value being displayed.
b. Only to outputs displayed in the current statement.
c. Until explicitly set to a different setting.
d. Until the output buffer is flushed.
Q2: Default type parameters are allowed only:
a. If the class template also has nontype parameters.
b. If the class template does not have any nontype parameters.
c. If the class is used as a container class.
d. As the rightmost (trailing) parameters in a template’s type-parameter list.
extern