Select the correct option to test your answer:
More Computer Questions
Which of the following is an entry-controlled loop?
Which of these can be returned by the operator &?
What will be the output of the following C++ code? #include <iostream> #include <string> using namespace std; class A{ mutable int a; public: A(){ cout<<"A's Constructor called\n"; } ~A(){ cout<<"A's Destructor called\n"; } }; class B{ A a; public: B(){ cout<<"B's Constructor called\n"; } ~B(){ cout<<"B's Destructor called\n"; } }; int main(int argc, char const *argv[]) { B b1; }
What is the purpose of a constructor in C#?
Which header file is needed to use the 'cin' and 'cout' objects in C++?