What is problem with Runtime type identification?

Answer Posted / guest

Run Time Type Identification (RTTI) affects the performance

Is This Answer Correct ?    5 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What are the various compound assignment operators in c++?

556


How to declaring variables in c++?

670


What is a far pointer? where we use it?

629


What is conditions when using boolean operators?

607


Which compiler does turbo c++ use?

615






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<<"["<

1823


What is the main purpose of c++?

555


Explain "const" reference arguments in function?

621


Explain what happens when a pointer is deleted twice?

745


What is difference between class and function?

589


What do you mean by translation unit?

609


Describe the setting up of my member functions to avoid overriding by the derived class?

618


What is a base class?

612


What is enum class in c++?

720


What is abstraction in c++?

688