What is problem with Runtime type identification?
Answers were Sorted based on User's Feedback
Answer / guest
Run Time Type Identification (RTTI) affects the performance
| Is This Answer Correct ? | 5 Yes | 2 No |
Answer / 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 |
Why are pointers not used in c++?
Suppose that data is an array of 1000 integers. Write a single function call that will sort the 100 elements data [222] through data [321].
What is nested class in c++?
What is constructor in C++?
When are exception objects created?
Why was c++ made?
Explain shallow copy?
What are manipulators used for?
Is it possible to have a recursive inline function in c++?
what is the C++
Why is "using namespace std;" considered bad practice?
A milk carton can hold 3.78 litres of milk. Each morning, a dairy farm ships cartons of milk to a local grocery store. The cost of producing one litre of milk is $0.38, and the profit of each carton of milk is $0.27. Write a C++ program that prompts the user to enter the total amount of milk produced in the morning. Then display the number of milk cartons needed to hold milk, the cost of producing milk, and the profit for producing milk.