Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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

20% of a 6 litre solution and 60% of 4 litre solution are mixed what the % of mixture of solution it is resulted into?

5 Answers   IonIdea,


Can private class be inherited?

0 Answers  


What is overloading in oop?

0 Answers  


What is the oops and benefits of oops programming?

0 Answers  


What is the types of inheritance?

0 Answers  


Which is not an object oriented programming language?

0 Answers  


What is property in oops?

0 Answers  


what is an qt4 interface?

1 Answers   IBM,


Write a program to get the binary tree.

3 Answers   ABC,


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

1 Answers   Infosys,


Question In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest. Question Submitted By :: Sunil Kumar I also faced this Question!! Rank Answer Posted By Re: In a class, there is a reference or pointer of an object of another class embedded, and the memory is either allocated or assigned to the new object created for this class. In the constructor, parameters are passed to initialize the data members and the embedded object reference to get inialized. What measures or design change should be advised for proper destruction and avioding memory leaks, getting pointers dangling for the embedded object memory allocation? Please suggest. Answer # 1 use copy constructors 0 Shanthila There is something to be taken care in destructor, in copy constructor, suppose the memory is assigned to the embedded member object pointer with the parameter passed value, but if some other objects of different class also are pointing to this memory, then if some one deletes the object then this class member pointer object will become dangling, or if the object is not deleted properly then there will be memory leak. Please suggest the design change required to handle or avoid this situation

0 Answers   TCS,


What is virtual constructors/destructors?

4 Answers   IBS,


Categories