What is the correct syntax to overload the binary + operator for a class Test?

1
Test operator+(const Test&);
2
Test operator+(Test);
3
operator+ Test(const Test&);
4
More than one of the above
5
None of the above

Sponsored

hivanix.in

Visit

This quiz is brought to you by hivanix.in

🌐 Web App Development

Quick Navigation