What is rtti in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What is c++ prototype?
What is split a string in c++?
Can create new c++ operators?
what is the use of templates?
Which of the Standard C++ casts can be used to perform a ?safe? downcast: a) reinterpret_cast b) dynamic_cast c) static_cast d) const_cast
Differentiate between an inspector and a mutator ?
class Foo { public: Foo(int i) { } }; class Bar : virtual Foo { public: Bar() { } }; Bar b; Referring to the above code, when the object 'b' is defined, a compiler error will occur. What action fixes the compiler error? a) Adding a virtual destructor to the class Bar b) Adding a constructor to Bar which takes an int parameter c) Adding "Foo()" to the Bar constructor d) Adding a copy constructor to the class Foo e) Adding "Foo(0)" to the Bar::Bar initializer list
C++ program output? Explain output of this program. #include <iostream> using std::cout; using std::cin; int main() { cout<<cout<<' '; cout<<cin; return 0; } It prints some address in hexadecimal. what is it?
Should the member functions which are made public in the base class be hidden?
How would you stop a class from class from being derived or inherited?The constructer should not be Private,as object instantiation should be allowed.
What do you mean by function and operator overloading in c++?
program to print this triangle * * * * * *