(A) New operators can never be created
(B) Certain overloaded operators can change the number of arguments they take.
(C) The precedence of an operator cannot be changed by overloading.
(D) Overloading cannot change how an operator works on built-in types.
Tag: Introduction to Programming
In overloading the assignment (=) operator, which object will call the operator function?
(A) Right object of the assignment operator
(B) Left object of the assignment operator
(C) Both objects will call the assignment operator
(D) No object will call the assignment operator
We can create a new operator through operator overloading?
(A) True
(B) False
(C) Both
(D) None
The reference data types are used as ordinary variables without any dereference operator?
(A) True
(B) False
(C) Both
(D) None
In functions that return reference, use only static variables?
(A) True
(B) False
(C) Both
(D) None
In functions that return reference, use global or static variables?
(A) True
(B) False
(C) Both
(D) None
We cannot do arithmetic with references like pointers?
(A) True
(B) False
(C) Both
(D) None
Operator functions written as non-members but friends of the class, get both the operands as their arguments?
(A) True
(B) False
(C) Both
(D) None