Q. Find the output of below program.
Code:class Mycpp
{
int Mycpp()
{
cout<<"Constructor";
return 0;
}
};
int main()
{
Mycpp obj;
return 0;
}
β
Correct Answer: (D)
Compilation Error