What is a c++ map?
No Answer is Posted For this Question
Be the First to Post Answer
What are the different types of polymorphism?
what kind of projects are suitable for c and c++
Explain the uses oof nested class?
What is scope resolution operator in c++ with example?
What is a class definition?
What are the steps in the development cycle?
What is a .lib file in c++?
Write a struct time where integer m, h, s are its members?
template<class T, class X> class Obj { T my_t; X my_x; public: Obj(T t, X x) : my_t(t), my_x(x) { } }; Referring to the sample code above, which one of the following is a valid conversion operator for the type T? a) T operator T () { return my_t; } b) T operator(T) const { return my_t; } c) operator(T) { return my_t; } d) T operator T (const Obj &obj) { return obj.my_t; } e) operator T () const { return my_t; }
If a base class declares a function to be virtual, and a derived class does not use the term virtual when overriding that class, is it still virtual when inherited by a third-generation class?
Explain 'this' pointer and what would happen if a pointer is deleted twice?
What is different in C++, compare with unix?