A

Admin • 833.24K Points
Coach

Q. Find the output of below program.

Code:
class Mycpp
{

};

int main()
{
Mycpp obj;
return 0;
}
  • (A) Compilation Error - Constructor Missing
  • (B) Nothing would be printed
  • (C) Undefined
  • (D) In constructor
  • Correct Answer - Option(B)
  • Views: 42
  • Filed under category C++
  • Hashtags:

No solution found for this question.
Add Solution and get +2 points.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.