Program using C++ to overload binary operator.
Have a query about writing a C++ program using overload binary operator? Searching for a program for adding two strings? Scroll through this page and get the solution to your question from our ISC experts here.
Below is the question which was asked in a question paper of BCA part-III(CS_72) Annual Exam 2015 of Nalanda Open University. This question carries 25 marks and hence require brief explanation and program also.
Q) Write a C++ program to overload + operator , to find S1+S2, where S1 and S2 are two strings.
Q) Write a C++ program to overload + operator , to find S1+S2, where S1 and S2 are two strings.