What is the output of C++ program given below?
#include<iostream> using namespace std; class Test { public: Test() { cout<<"constructor of Testn"; } ~Test() { cout<<"destructor of Testn"; } }; int main() { Test a; Test b; }
Reveal answer
Fill a bubble to check yourself