CPP MCQ
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){ }

Correct Answer : Option (A) :   A operator+(argument_list){ }

Explanation :

The general syntax for operator overloading is :

return_type operator_keywordOperator(argument_list){ }

Ex : 
A opeartor+(argument_list){ }