A

Admin • 833.24K Points
Coach

Q. Output of following program?

Code:
#include<iostream>
using namespace std;
class Point {
Point() { cout << "Constructor called"; }
}; int main()
{
Point t1;
return 0;
}
  • (A) Constructor called
  • (B) Runtime Error
  • (C) Compiler Error
  • (D) None of the above
  • Correct Answer - Option(C)
  • Views: 28
  • 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.