What is the syntax of overloading operator + for class A?
(a) A operator+(argument_list){}
(b) A operator[+](argument_list){}
(c) int +(argument_list){}
(d) int [+](argument_list){}
I got this question by my college professor while I was bunking the class.
My question is from Operator Overloading topic in portion Source Files, Classes and Operator Overloading in C++ of C++