Home » C++ Programming » Constructors and Destructors

Which of the following statement is correct about the program given below? #include class CuriousTab { public: CuriousTab() { cout<< "Curious"; } ~CuriousTab() { cout<< "Tab"; } }; int main() { CuriousTab objTab; return 0; }

← Previous Question Next Question→

Discussion & Comments

No comments yet. Be the first to comment!