1. Computer Science Engineering (CSE)
  2. CPP Programming
  3. Output of following program? #include<io...
Q.

Output of following program?
#include<iostream>
using namespace std;
class Point {
Point() { cout << "Constructor called"; }
}; int main()
{
Point t1;
return 0;
}

A. Compiler Error
B. Runtime Error
C. Constructor called
D. None of the above
Answer» A. Compiler Error
View all MCQs in:   CPP Programming

Discussion