How many types of classes are there in c++?
No Answer is Posted For this Question
Be the First to Post Answer
What is guard code in c++?
Define a nested class. Explain how it can be useful.
In a function declaration what does extern means?
Can java be faster than c++?
List the issue that the auto_ptr object handles?
why can't we declare data member of class auto register or extern
How do I get good at c++ programming?
Can you please explain the difference between overloading and overriding?
If a round rectangle has straight edges and rounded corners, your roundrect class inherits both from rectangle and from circle, and they in turn both inherit from shape, how many shapes are created when you create a roundrect?
How is data hiding achieved in c++?
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; }
Write a program that takes a 5 digit number and calculates 2 power that number and prints it.