Chapter 11: Problem 1
Fill in the blanks in each of the following: a. Suppose a and b are integer variables and we form the sum a + b. Now suppose c and d are floating-point variables and we form the sum c + d. The two + operators here are clearly being used for different purposes. This is an example of __________. b. Keyword __________ introduces an overloaded-operator function definition. c. To use operators on class objects, they must be overloaded, with the exception of operators __________, __________ and __________. d. The __________, __________ and __________ of an operator cannot be changed by overloading the operator.
Short Answer
Step by step solution
Key Concepts
These are the key concepts you need to understand to accurately answer the question.