Explain rtti.
No Answer is Posted For this Question
Be the First to Post Answer
What do nonglobal variables default to a) auto b) register c) static
What is c++ similar to?
Why is polymorphism useful?
Why c++ is the best language?
Is it possible for a member function to use delete this?
What are the static members and static member functions?
Am studying basic c++ programming, have been given the following assignment. Design a linear program to calculate the maximum stress a material can withstand given a force and a diameter of a circle. To find the required area pi should be defined. Have most of the program sorted out but am at a loss as to how to show the calculations required. Can anyone help?
class professor {}; class teacher : public virtual professor {}; class researcher : public virtual professor {}; class myprofessor : public teacher, public researcher {}; Referring to the sample code above, if an object of class "myprofessor" were created, how many instances of professor will it contain? a) 0 b) 1 c) 2 d) 3 e) 4
What are protected members in c++?
Give the difference between the type casting and automatic type conversion. Also tell a suitable C++ code to illustrate both.
What is istream and ostream in c++?
What are the benefits of oop in c++?