Question: QUESTION 2 10 Which statement is correct regarding operator overloading? O When overloading operators, you can create a new operator different from the more usual
QUESTION 2 10 Which statement is correct regarding operator overloading? O When overloading operators, you can create a new operator different from the more usual operators Overfioading a binary operator as a member requires two arguments O You can change the behavior of a + for the int type using operator overloading Overloading a binary operator as a stand-along function requires two arguments QUESTION 3 10 p Which of the following is incorrect regarding presence and behavior of constructor is correct Assume that the class name is C To use the declaration, c xi requires a default constructor must be present O An explicit callto a constructor creates an anonymous object. which can be assigned O A constructor is called automatically when you declare an object of class type, but any constructor can be called after declaration to set all the member variables to a known state. To invoke the default constructor, the syntax must be C xo
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
