What is RTTI and why do you need it?
Answer / Vivek Pandey
Run-Time Type Identification (RTTI) in C++ allows a program to query the type of an object at run time. It's useful when working with polymorphic objects, as it enables safe downcasting and dynamic_casting.
| Is This Answer Correct ? | 0 Yes | 0 No |
Write a C++ Program to Find whether given Number is Odd or Even.
what is friend function in C++?
Can we provide one default constructor for our class?
There is a base class sub, with a member function fnsub(). There are two classes super1 and super2 which are sub classes of the base class sub.if and pointer object is created of the class sub which points to any of the two classes super1 and super2, if fnsub() is called which one will be inoked?
How to run C++ program in cmd
What does it mean to declare a member function as virtual in C++?
What is name mangling/name decoration?
What is conversion constructor in C++
Define an Abstract class in C++?
What are "pure virtual" functions?
1 Answers Adobe, Alter, iNautix,
What is an algorithm (in terms of the STL/C++ standard library)?
What is the 4 difference between delete[] and delete?