Find the error(s) in the following code: class opOverload //Line 1{ //Line 2public: //Line 3opOverload operator*(); //Line 4//Overload the binary//operator *opOverload(double = 0); //Line 5private: //Line 6double decNum; //Line 7}; //Line 8
Find the error(s) in the following code:
class opOverload //Line 1
{ //Line 2
public: //Line 3
opOverload operator*(); //Line 4
//Overload the binary
//operator *
opOverload(double = 0); //Line 5
private: //Line 6
double decNum; //Line 7
}; //Line 8
Trending now
This is a popular solution!
Step by step
Solved in 2 steps with 1 images