πŸ“Š C++
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
πŸ’¬ Discuss
βœ… Correct Answer: (A) Compiler Error

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
223
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Praveen Singh
Publisher
πŸ“ˆ
96%
Success Rate