Describe run-time type identification?
Answer / anuradha chaurasia
The ability to determine at run time the type of an object by using the typeid operator or the dynamic_cast operator.
| Is This Answer Correct ? | 0 Yes | 0 No |
What does catch(…) mean?
What is c++ mutable?
What is flush c++?
What is an associative container in c++?
class Foo { public: Foo(int i) { } }; class Bar : virtual Foo { public: Bar() { } }; Bar b; Referring to the above code, when the object 'b' is defined, a compiler error will occur. What action fixes the compiler error? a) Adding a virtual destructor to the class Bar b) Adding a constructor to Bar which takes an int parameter c) Adding "Foo()" to the Bar constructor d) Adding a copy constructor to the class Foo e) Adding "Foo(0)" to the Bar::Bar initializer list
What are pointers, when declared, intialized to a) NULL b) Newly allocated memory c) Nothing. Its random
advantages and disadvantages of using Borland C++ / version 5.
Write a corrected statement in c++ so that the statement will work properly. if (x > 5); y = 2*x; else y += 3+x;
Is it possible to provide special behavior for one instance of a template but not for other instances?
Can I run c program in turbo c++?
Is string data type in c++?
Is oops and c++ same?