What is the output of C++ program given below?
#include<iostream>
using namespace std;
class A
{
public:
A()
{
cout<<"Constructor of A"<<endl;
}
void Test();
};
void A::Test()
{
cout<<"This is Test"<<endl;
}
int main()
{
A a;
a.Test();
}
Reveal answer
Fill a bubble to check yourself