What is problem with Runtime type identification?

Answer Posted / achal ubbott

RTTI feature was added to know the type of the object at
the run time. Most modern standard c++ compilers support
this feature. Now since the identification is done at the
runtime, this makes the execution slow.

Is This Answer Correct ?    2 Yes 2 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is ios :: in in c++?

629


Do vectors start at 0?

588


What is runtime polymorphism in c++?

582


Write about the stack unwinding?

624


What is buffer and example?

523






an integer constant must have atleast one a) character b) digit c) decimal point

554


Is c# written in c++?

518


write a program that reads in a file and counts the number of lines, words, and characters. Your program should ask the user to input a filename. Open the file and report an error if the file does not exist or cannot be opened for some other reason. Then read in the contents of the file and count the number of lines, words, and characters in the file. Also print additional information about the file, such as the longest and shortest words, and longest and shortest lines. For simplicity, we define a word to be one or more characters ending with white space (a space, tab, carriage return, etc.). Functions for checking the types of characters can be found in the ctype.h header file, so you want to include this header file in your program. For example, the sentence below could be all that is in a file. This sentence IT 104 is taught in C++. has 32 characters, one line, and six words. The shortest line is 32 characters. The longest line is 32 characters. The shortest word is 2 characters. The longest word is 6 characters

4847


What is an inclusion guard?

615


There are 100 students in a class. The management keep information in two tables. Those two tables are given like Roll no Name Age 001 ABC 15 002 XYZ 14 and Roll No Subject Marks 001 Math 75 001 Physics 55 002 Math 68 001 Hindi 69 They want the information like this Roll No Name Hindi Physics Math Total 001 ABC 69 55 75 199 002 XYZ 68 74 84 226 And Roll No Suject Highest 001 Math 98 007 Physics 84 021 Hindi 74 All 275 All information is kept in structure in main memory. You have to find last two tables.

2530


What is cin clear () in c++?

610


why and when we can declar member fuction as a private in the class?

1596


What is a sequence in c++?

574


How the virtual functions maintain the call up?

606


Explain the concept of copy constructor?

615