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

You must be Logged in to update hint/solution

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
93
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Rakesh Kumar
Publisher
πŸ“ˆ
86%
Success Rate