CS-304 Final Term Exams Preparation Virtual University MCQs With Answers
Question # 1
Suppose that the Test class does not have an overloaded assignment operator. What happens when an
assignment a=b; is given for two Test objects a and b?
Suppose obj1 and obj2 are two objects of a user defined class A. An + operator is overloaded to add obj1 and
obj2 using the function call obj1+obj2.
Identify the correct function prototype against the given call?