Select the correct option to test your answer:
Computer
Standard Template Library (Stl) In C Plus Plus
Difficulty: Medium
What will be the output of the following C++ code? #include <typeinfo> #include <iostream> using namespace std; class Test { public: Test(); virtual ~Test(); }; int main() { Test *ptrvar = NULL; try { cout << typeid(*ptrvar).name() << endl; } catch (bad_typeid) { cout << "The object is null" << endl; } return 0; }
More Computer Questions
What does the 'strcat' function in C do?
What will the following code output: my_tuple = (1, 2, 3) new_tuple = my_tuple.copy() print(new_tuple)
A combination of 4 bit is called ______?
Which data structure is used to check for balanced parentheses in an expression?
When we double click on my computer