CPP MCQ
What is the Run-Time Type Information in C++?
A)
Information about the functions
B)
Information about the given block
C)
Information about the variables
D)
Information about an object’s data type at runtime

Correct Answer : Option (D) :   Information about an object’s data type at runtime

Explanation : Run-time type information (RTTI) is a mechanism that allows the type of an object to be determined during program execution. RTTI was added to the C++ language because many vendors of class libraries were implementing this functionality themselves. This caused incompatibilities between libraries.