Q5: For operators overloaded as non-static member functions:
a. Binary operators can have two arguments and unary operators can have one.
b. Both binary and unary operators take one argument.
c. Binary operators can have one argument, and unary operators cannot have any.
d. Neither binary nor unary operators can have arguments.
Which statement is correct?
a) Expressions with side effects (i.e., variable values are modified) should not be passed
to a macro because macro arguments may be evaluated more than once.
b) Expressions with side effects (i.e., variable values are modified) should not be passed
to a macro because macro arguments are evaluated only once.
c) Expressions with side effects (i.e., variable values are modified) should be passed to
a macro because macro arguments may be evaluated more than once.
d) Expressions with side effects (i.e., variable values are modified) should be passed to
a macro because macro arguments are evaluated only once.
If an error occurs while opening a file in any mode, fopen __________.