Feedback for subjective question
Question 1: Suppose a program has a math class having only one data member number.
Write the declaration and definition of operator function to overload + operator for the statements of main function.
math obj1, obj2;
obj2 = 10 + obj1;
Write the declaration and definition of operator function to overload + operator for the statements of main function.
math obj1, obj2;
obj2 = 10 + obj1;
Current Answer:
Be the first to post an answer to earn 100CR.