1. Computer Science Engineering (CSE)
  2. CPP Programming
  3. #include<iostream> using namespace std; ...
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
D. None of the above
Answer» C. Constructor called
View all MCQs in:   CPP Programming

Discussion