Q.

#include<iostream> using namespace std; class Point {
public:
Point() { cout <<"Constructor called"; }
};
int main()
{
Point t1, *t2; return 0;
}

A. compiler error
B. constructor called constructor called
C. constructor called
Answer» C. constructor called
3.1k
0
Do you find this helpful?
21

Discussion

No comments yet

Related MCQs