What is R T T I ?

Answers were Sorted based on User's Feedback



What is R T T I ?..

Answer / chinna

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.

Is This Answer Correct ?    15 Yes 2 No

What is R T T I ?..

Answer / sanjay makwana, puna

Run time type identification.

through typeid operator we can justify object at run time.

Is This Answer Correct ?    8 Yes 2 No

What is R T T I ?..

Answer / narasimulu

RTTI as known Runtime Type Identification.
If you want to cast the object of one class as the object
of another class so u require to know the type of the
object at the runtime .

Is This Answer Correct ?    4 Yes 1 No

What is R T T I ?..

Answer / prabhakar

run time type identification
1. dynamic _cast
2.static cast
3.typeid
4.const cast.

Is This Answer Correct ?    3 Yes 0 No

What is R T T I ?..

Answer / arun

RTTI> Run Time Type Identification

RTTI means during time of run object property can be
retrieve and changed. Under RTTI dynamic_cast<>, typeid,
const_cast<> etc are used.

Is This Answer Correct ?    4 Yes 3 No

What is R T T I ?..

Answer / barkavi

RTTI means run-time type information or run-time type
identification.RTTI is mainly used for identifyig the type
of objects present in the program during execution.typeid is
one of identification in RTTI.run time type identifications
are namely
1.dynamic_cast
2.static cast
3.typeid
4.const cast
*typeinfo is holds the information of typeid

Is This Answer Correct ?    1 Yes 0 No

Post New Answer

More OOPS Interview Questions

How is the using() pattern useful? What is IDisposable? How does it support deterministic finalization?

1 Answers   IntraLogic,


me get an assignent n its question is this 1.creat a set as in math i.ea={1,2} 2.insert element in it3. delete element don,t repeat any element 4.union 5. intersection of two sets plz help me i always pray for u n send me at ayeshawzd@hotmail.com f u have c++ how to program 5th addition then it is the 10.9 question in 10th chapter exercise

1 Answers  


Why is destructor used?

0 Answers  


what is difference between c++ language and java language

5 Answers  


what is multi level inheritance give n example ?

13 Answers   HDFC, Hulas Steel, Ness Technologies,






What are virtual classes?

0 Answers  


The type of variable a pointer points to must be the part of pointer's definition so that:

1 Answers   Infosys,


why to use template classes in c++?

1 Answers  


What is virtual Function.

1 Answers   Wipro,


explain the concepts of oops?

1 Answers  


Describe what an Interface is and how it?s different from a Class.

7 Answers   Spinsys,


Get me a number puzzle game-program

0 Answers  


Categories