Question { Ness Technologies, 14063 }
What is R T T I ?
Answer
Run Time Type Information ( RTTI ) : Run-time type
information (RTTI) is a mechanism that allows the type of
an object to be determined during program execution.
There are three main C++ language elements to run-
time type information:
The dynamic_cast operator : Used for conversion of
polymorphic types.
The typeid operator : Used for identifying
the exact type of an object.
The type_info class : Used to hold the type information
returned by the typeid operator.