What is a "RTTI"?

Answer Posted / manju

RTTI stands for Run Time Type Information.It is used to
provide information about the dynamic type of an object.

Is This Answer Correct ?    3 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is a memory leak c++?

592


How does work in c++?

600


What is the basic structure of c++ program?

571


how can i access a direct (absolute, not the offset) memory address? here is what i tried: wrote a program that ask's for an address from the user, creates a FAR pointer to that adress and shows it. then the user can increment/decrement the value in that address by pressing p(inc+) and m(dec-). NOW, i compiled that program and opened it twice (in 2 different windows) and gave twice the same address to it. now look what happen - if i change the value in one "window" of the program, it DOES NOT change in the other! even if they point to the same address in the memory! here is the code snippet: //------------------------------------------------------ #include //INCLUDE EVERY KNOWN HEADER FILE #include //FOR ANY CASE... #include #include #include main() { int far *ptr; //FAR POINTER!!! long address; char key=0; //A KEY FROM THE KEYBOARD int temp=0; clrscr(); cout<<"Enter Address:"; cin>>hex>>address; //GETS THE ADDRESS clrscr(); (long)ptr=address; temp=*ptr; //PUTS THE ADDRESS IN THE PTR cout<<"["<

1821


Show the declaration for a pointer to function returning long and taking an integer parameter.

582






What does it mean to declare a member function as static?

614


What is the advantage of c++ over c?

566


What is abstraction c++?

593


Explain the uses oof nested class?

631


List different attributes in C++?

643


Is there any function that can skip certain number of characters present in the input stream?

587


What can I safely assume about the initial values of variables which are not explicitly initialized?

627


What are the different types of polymorphism in c++?

594


How would you call C functions from C++ and vice versa?

640


How a new operator differs from the operator new?

626