MathWorks Interview Question

Write a operator overloading fuction in C++.