Which operator is used to define func outside its class
Answers
Answered by
0
Scope Resolution Operator (::) can be used.
Syntax:
return_type class_name :: function_name()
{
function body;
}
Syntax:
return_type class_name :: function_name()
{
function body;
}
Answered by
0
it is scope resolution operator(::).
Similar questions